9 #ifndef CConfigFileMemory_H 10 #define CConfigFileMemory_H 37 void writeString(
const std::string §ion,
const std::string &name,
const std::string &str);
41 std::string readString(
42 const std::string §ion,
43 const std::string &name,
44 const std::string &defaultStr,
45 bool failIfNotFound =
false)
const;
67 void setContent(
const std::string &str );
70 void getContent( std::string &str )
const;
85 virtual void getAllKeys(
const std::string §ion,
vector_string &keys )
const;
This class allows loading and storing values and vectors of different types from a configuration text...
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.
std::string getContent() const
Return the currnet contents of the virtual "config file".
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void_ptr_noncopy m_ini
The IniFile object.