9 #ifndef CListOfClasses_H 10 #define CListOfClasses_H 26 typedef std::set<const mrpt::utils::TRuntimeClassId*>
TSet;
34 inline iterator
begin() {
return m_data.begin(); }
35 inline const_iterator
begin()
const {
return m_data.begin(); }
37 inline iterator
end() {
return m_data.end(); }
38 inline const_iterator
end()
const {
return m_data.end(); }
54 inline void clear() { m_data.clear(); }
57 inline bool empty()
const {
return m_data.empty(); }
61 std::string toString()
const;
66 void fromString(
const std::string &s);
void insert(const mrpt::utils::TRuntimeClassId *id)
Insert a class in the list.
const_iterator end() const
const Scalar * const_iterator
void clear()
Empty the list.
const_iterator begin() const
TSet::const_iterator const_iterator
bool empty() const
Is the list empty?
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool contains(const mrpt::utils::TRuntimeClassId *id) const
Does the list contains this class?
A list (actually based on a std::set) of MRPT classes, capable of keeping any class registered by the...
std::set< const mrpt::utils::TRuntimeClassId * > TSet
A structure that holds runtime class type information.