37 void writeString(
const std::string §ion,
const std::string &name,
const std::string &str)
MRPT_OVERRIDE;
41 std::string readString(
42 const std::string §ion,
43 const std::string &name,
44 const std::string &defaultStr,
57 void setFileName(const
std::
string &fil_path);
63 std::
string getAssociatedFile()
const {
return m_file; }
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This class allows loading and storing values and vectors of different types from ".ini" files easily.
This class allows loading and storing values and vectors of different types from a configuration text...
std::vector< std::string > vector_string
A type for passing a vector of strings.
bool m_modified
If modified since load.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string m_file
The name of the file.
void_ptr_noncopy m_ini
The interface to the file: