YAML/JSON C++ API
Header: #include <mrpt/containers/yaml.h>
.
Library: [mrpt-containers]
// enums enum mrpt::containers::CommentPosition; // structs template <typename T> struct mrpt::containers::ValueCommentPair; template <typename T> struct mrpt::containers::ValueKeyCommentPair; struct mrpt::containers::YamlEmitOptions; // classes class mrpt::containers::yaml; // global functions template <typename T> struct ValueCommentPair<T> mrpt::containers::vcp( const T& v, const std::string& c, const CommentPosition pos = CommentPosition::RIGHT ); template <typename T> struct ValueKeyCommentPair<T> mrpt::containers::vkcp( const std::string& keyName, const T& v, const std::string& c, const CommentPosition pos = CommentPosition::TOP );
Global Functions
template <typename T> struct ValueCommentPair<T> mrpt::containers::vcp( const T& v, const std::string& c, const CommentPosition pos = CommentPosition::RIGHT )
Helper syntax sugar for ValueCommentPair.
[New in MRPT 2.1.0]
See also:
template <typename T> struct ValueKeyCommentPair<T> mrpt::containers::vkcp( const std::string& keyName, const T& v, const std::string& c, const CommentPosition pos = CommentPosition::TOP )
Helper syntax sugar for ValueKeyCommentPair.
[New in MRPT 2.1.0]
See also: