Go to the documentation of this file.
9 #ifndef CListOfClasses_H
10 #define CListOfClasses_H
26 typedef std::set<const mrpt::utils::TRuntimeClassId*>
TSet;
54 inline void clear() { m_data.clear(); }
57 inline bool empty()
const {
return m_data.empty(); }
const_iterator end() const
const Scalar * const_iterator
A list (actually based on a std::set) of MRPT classes, capable of keeping any class registered by the...
void clear()
Empty the list.
const_iterator begin() const
std::set< const mrpt::utils::TRuntimeClassId * > TSet
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
TSet::const_iterator const_iterator
std::string toString() const
Return a string representation of the list, for example: "CPose2D, CObservation, CPose3D".
void insert(const mrpt::utils::TRuntimeClassId *id)
Insert a class in the list.
bool contains(const mrpt::utils::TRuntimeClassId *id) const
Does the list contains this class?
bool empty() const
Is the list empty?
bool containsDerivedFrom(const mrpt::utils::TRuntimeClassId *id) const
Does the list contains a class derived from...?
void fromString(const std::string &s)
Return a string representation of the list, for example: "CPose2D, CObservation, CPose3D".
A structure that holds runtime class type information.
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |