20 if ((*it)->derivedFrom(
id))
return true;
29 if (it !=
begin())
s +=
", ";
void insert(const mrpt::utils::TRuntimeClassId *id)
Insert a class in the list.
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
bool containsDerivedFrom(const mrpt::utils::TRuntimeClassId *id) const
Does the list contains a class derived from...?
std::string toString() const
Return a string representation of the list, for example: "CPose2D, CObservation, CPose3D".
void clear()
Empty the list.
TSet::const_iterator const_iterator
const mrpt::utils::TRuntimeClassId * lstClasses[]
std::string format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
GLsizei const GLchar ** string
void fromString(const std::string &s)
Return a string representation of the list, for example: "CPose2D, CObservation, CPose3D".
void tokenize(const std::string &inString, const std::string &inDelimiters, std::deque< std::string > &outTokens, bool skipBlankTokens=true) noexcept
Tokenizes a string according to a set of delimiting characters.
const TRuntimeClassId * findRegisteredClass(const std::string &className)
Return info about a given class by its name, or nullptr if the class is not registered.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A structure that holds runtime class type information.
#define ASSERTMSG_(f, __ERROR_MSG)