43 virtual void writeString(
const std::string §ion,
const std::string &name,
const std::string &str);
44 virtual std::string readString(
const std::string §ion,
const std::string &name,
const std::string &defaultStr,
bool failIfNotFound =
false)
const ;
56 void setPrefixes(
const std::string &prefix_sections,
const std::string &prefix_keys);
58 std::string getSectionPrefix()
const;
59 std::string getKeyPrefix()
const;
65 virtual void getAllKeys(
const std::string §ion,
vector_string &keys )
const;
A wrapper for other CConfigFileBase-based objects that prefixes a given token to every key and/or sec...
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.