Go to the documentation of this file.
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; }
virtual void getAllSections(vector_string §ions) const MRPT_OVERRIDE
Returns a list with all the section names.
std::vector< std::string > vector_string
A type for passing a vector of strings.
std::string m_file
The name of the file.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void writeString(const std::string §ion, const std::string &name, const std::string &str) MRPT_OVERRIDE
A virtual method to write a generic string
std::string readString(const std::string §ion, const std::string &name, const std::string &defaultStr, bool failIfNotFound=false) const MRPT_OVERRIDE
A virtual method to read a generic string.
bool m_modified
If modified since load.
virtual void getAllKeys(const std::string §ion, vector_string &keys) const MRPT_OVERRIDE
Returs a list with all the keys into a section.
void_ptr_noncopy m_ini
The interface to the file:
This class allows loading and storing values and vectors of different types from a configuration text...
virtual ~CConfigFile()
Destructor.
This class allows loading and storing values and vectors of different types from "....
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |