29 void TMapGenericParams::saveToConfigFile(
38 uint8_t TMapGenericParams::serializeGetVersion()
const {
return 0; }
41 out << enableSaveAs3DObject << enableObservationLikelihood
42 << enableObservationInsertion;
44 void TMapGenericParams::serializeFrom(
51 in >> enableSaveAs3DObject >> enableObservationLikelihood >>
52 enableObservationInsertion;
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
To be added to all CSerializable-classes implementation files.
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
This class allows loading and storing values and vectors of different types from a configuration text...
mrpt::config::CConfigFileBase CConfigFileBase
This namespace contains representation of robot actions and observations.
#define MRPT_LOAD_CONFIG_VAR( variableName, variableType, configFileObject, sectionNameStr)
An useful macro for loading variables stored in a INI-like file under a key with the same name that t...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Virtual base class for "archives": classes abstracting I/O streams.
mrpt::vision::TStereoCalibResults out
Common params to all maps derived from mrpt::maps::CMetricMap.
#define MRPT_SAVE_CONFIG_VAR_COMMENT(variableName, __comment)