43 void writeString(
const std::string §ion,
const std::string &name,
const std::string &str)
MRPT_OVERRIDE;
44 std::string readString(
const std::string §ion,
const std::string &name,
const std::string &defaultStr,
bool failIfNotFound =
false) const
MRPT_OVERRIDE;
56 void setPrefixes(const std::
string &prefix_sections, const std::
string &prefix_keys);
58 std::
string getSectionPrefix() const;
59 std::
string getKeyPrefix() const;
A wrapper for other CConfigFileBase-based objects that prefixes a given token to every key and/or sec...
#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::vector< std::string > vector_string
A type for passing a vector of strings.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string m_prefix_sections
CConfigFileBase * m_bound_object
The object we are wrapping.