Template Struct ValueKeyCommentPair

Struct Documentation

template<typename T>
struct ValueKeyCommentPair

Storage for value-comment pairs, with the comment associated to the key, not the value. See examples in mrpt::containers::yaml.

See also

mrpt::containers::yaml, vkcp

Note

[New in MRPT 2.1.0]

Public Functions

inline ValueKeyCommentPair(const std::string &keyName, const T &v, const std::string &c, CommentPosition pos)

Public Members

const std::string &keyname
const T &value
const std::string &comment
const CommentPosition position