9 #ifndef CPropertiesValuesList_H
10 #define CPropertiesValuesList_H
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
An arbitrary list of "annotations", or named attributes, each being an instance of any CSerializable ...
std::vector< std::string > getPropertyNames() const
Returns the name of all properties in the list.
CPropertiesValuesList()
Default constructor.
size_t size() const
Returns the number of properties in the list.
CSerializable::Ptr get(const std::string &propertyName) const
Returns the value of the property (case insensitive), or nullptr if it does not exist.
CPropertiesValuesList & operator=(const CPropertiesValuesList &o)
Copy operator.
std::vector< TPropertyValuePair > m_properties
The properties list: a map between strings and objects.
void clear()
Clears the list.
void set(const std::string &propertyName, const CSerializable::Ptr &obj)
Sets/change the value of the property (case insensitive), making a copy of the object (or setting it ...
virtual ~CPropertiesValuesList()
Destructor.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
GLsizei GLsizei GLuint * obj
GLsizei const GLchar ** string
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.