50     void setContent(
const std::vector<std::string>& stringList);
    64     void clear() 
override;
    67     void getAllSections(std::vector<std::string>& sections) 
const override;
    69     void getAllKeys(
const std::string& section, std::vector<std::string>& keys)
    80         const std::string& section, 
const std::string& name,
    81         const std::string& str) 
override;
    84         const std::string& section, 
const std::string& name,
    85         const std::string& defaultStr,
    86         bool failIfNotFound = 
false) 
const override;
 This class implements a config file-like interface over a memory-stored string list. 
 
CConfigFileMemory()
Empty constructor. 
 
~CConfigFileMemory() override
dtor 
 
spimpl::impl_ptr< T > pimpl
 
std::string getContent() const
 
void getAllKeys(const std::string §ion, std::vector< std::string > &keys) const override
Returs a list with all the keys into a section. 
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
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 getAllSections(std::vector< std::string > §ions) const override
Returns a list with all the section names. 
 
mrpt::pimpl< Impl > m_impl
 
void clear() override
Empties the virtual "config file". 
 
void setContent(const std::vector< std::string > &stringList)
Changes the contents of the virtual "config file". 
 
void writeString(const std::string §ion, const std::string &name, const std::string &str) override
A virtual method to write a generic string.