58 CSerializable::Ptr
get(
const std::string& propertyName)
const;
63 void set(
const std::string& propertyName,
const CSerializable::Ptr& obj);
std::vector< std::string > getPropertyNames() const
Returns the name of all properties in the list.
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.
~CPropertiesValuesList() override
Destructor.
std::vector< TPropertyValuePair > m_properties
The properties list: a map between strings and objects.
size_t size() const
Returns the number of properties in the list.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
CPropertiesValuesList()
Default constructor.
CPropertiesValuesList & operator=(const CPropertiesValuesList &o)
Copy operator.
void clear()
Clears the list.
An arbitrary list of "annotations", or named attributes, each being an instance of any CSerializable ...