Go to the documentation of this file.
9 #ifndef CTypeSelector_H
10 #define CTypeSelector_H
43 CTypeSelector(std::string posibilitiesList =
"", std::string defaultType =
"");
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;
unsigned int selection
The selected one:
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
std::vector< std::string > possibleTypes
The possibilities.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
This class represents a std::string derived class which is also CSerializable.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 22:32:58 UTC 2019 | | |