9 #ifndef CTypeSelector_H 10 #define CTypeSelector_H 32 std::vector<
std::
string> possibleTypes;
36 unsigned int selection;
51 void getTypePosibilities(
std::vector<
std::
string> &outPosibilities)const;
57 std::
string getType() const;
61 bool isType(const
char *type) const;
65 bool isType(const
std::
string &type) const;
71 void setType(const
std::
string &type);
75 int checkTypeIndex(const
std::
string &type) const;
The virtual base class which provides a unified interface for all persistent objects in MRPT...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
This class represents a std::string derived class which is also CSerializable.