35     rightCamera.saveToConfigFile(section + 
string(
"_RIGHT"), cfg);
    38         section + 
string(
"_LEFT2RIGHT_POSE"), 
"pose_quaternion",
    39         rightCameraPose.asString());
    55     leftCamera.loadFromConfigFile(section + 
string(
"_LEFT"), cfg);
    56     rightCamera.loadFromConfigFile(section + 
string(
"_RIGHT"), cfg);
    58         section + 
string(
"_LEFT2RIGHT_POSE"), 
"pose_quaternion", 
""));
    66     out << leftCamera << rightCamera << rightCameraPose;
    86                     "backwards compatibility de-serialization not implemented "    89             in >> leftCamera >> rightCamera >> rightCameraPose;
   100     saveToConfigFile(
"", cfg);
 This class implements a config file-like interface over a memory-stored string list. 
 
std::string read_string(const std::string §ion, const std::string &name, const std::string &defaultValue, bool failIfNotFound=false) const
 
#define THROW_EXCEPTION(msg)
 
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
To be added to all CSerializable-classes implementation files. 
 
uint8_t serializeGetVersion() const override
Must return the current versioning number of the object. 
 
#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...
 
This base provides a set of functions for maths stuff. 
 
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive. 
 
mrpt::config::CConfigFileBase CConfigFileBase
 
std::string dumpAsText() const
Dumps all the parameters as a multi-line string, with the same format than saveToConfigFile. 
 
void loadFromConfigFile(const std::string §ion, const mrpt::config::CConfigFileBase &cfg)
Load all the params from a config source, in the same format that used in saveToConfigFile(). 
 
void serializeFrom(mrpt::serialization::CArchive &in, uint8_t serial_version) override
Pure virtual method for reading (deserializing) from an abstract archive. 
 
void saveToConfigFile(const std::string §ion, mrpt::config::CConfigFileBase &cfg) const
Save all params to a plain text config file in this format: 
 
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
 
void getContent(std::string &str) const
Return the current contents of the virtual "config file". 
 
Structure to hold the parameters of a pinhole stereo camera model.