Go to the documentation of this file.
9 #ifndef CConfigFileMemory_H
10 #define CConfigFileMemory_H
34 void writeString(
const std::string §ion,
const std::string &name,
const std::string &str)
MRPT_OVERRIDE;
38 std::string readString(
39 const std::string §ion,
40 const std::string &name,
41 const std::string &defaultStr,
61 void setContent( const utils::
CStringList &stringList );
64 void setContent( const std::
string &str );
67 void getContent( std::
string &str ) const;
70 inline std::
string getContent()
const { std::string s;
getContent(s);
return s; }
std::vector< std::string > vector_string
A type for passing a vector of strings.
This class implements a config file-like interface over a memory-stored string list.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
This class allows loading and storing values and vectors of different types from a configuration text...
std::string getContent() const
Return the currnet contents of the virtual "config file".
A class for storing a list of text lines.
void_ptr_noncopy m_ini
The IniFile object.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 22:32:58 UTC 2019 | | |