Go to the documentation of this file.
44 void setContent(
const std::vector<std::string>& stringList);
58 void getAllSections(std::vector<std::string>& sections)
const override;
77 bool failIfNotFound =
false)
const override;
void getAllSections(std::vector< std::string > §ions) const override
Returns a list with all the section names.
std::string readString(const std::string §ion, const std::string &name, const std::string &defaultStr, bool failIfNotFound=false) const override
A virtual method to read a generic string.
void getAllKeys(const std::string §ion, std::vector< std::string > &keys) const override
Returs a list with all the keys into a section.
spimpl::impl_ptr< T > pimpl
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLuint const GLchar * name
This class allows loading and storing values and vectors of different types from a configuration text...
void setContent(const std::vector< std::string > &stringList)
Changes the contents of the virtual "config file".
CConfigFileMemory()
Empty constructor.
void writeString(const std::string §ion, const std::string &name, const std::string &str) override
A virtual method to write a generic string.
mrpt::pimpl< Impl > m_impl
GLsizei const GLchar ** string
This class implements a config file-like interface over a memory-stored string list.
virtual ~CConfigFileMemory()
dtor
std::string getContent() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |