9 #ifndef CConfigFileMemory_H 10 #define CConfigFileMemory_H 40 void setContent(
const std::string &str );
41 void getContent(std::string &str)
const;
51 void writeString(
const std::string §ion,
const std::string &name,
const std::string &str)
MRPT_OVERRIDE;
52 std::string readString(
const std::string §ion,
const std::string &name,
const std::string &defaultStr,
bool failIfNotFound =
false) const MRPT_OVERRIDE;
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This class allows loading and storing values and vectors of different types from a configuration text...
std::string getContent() const
This class implements a config file-like interface over a memory-stored string list.
std::vector< std::string > vector_string
A type for passing a vector of strings.
A class for storing a list of text lines.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void_ptr_noncopy m_ini
The IniFile object.