config file parser
More...
#include <conf_file_parser.h>
|
| | ConfFileParser (const std::string &file_path, const std::string &delim=":=", const std::string &realm="") |
| | construct with file path and delimiters More...
|
| |
| bool | parse (ParamMap ¶m_map) override |
| | analyze file content and results are stored to parameter map More...
|
| |
|
virtual | ~ParamParser () |
| | virtual destructor
|
| |
| virtual bool | parse (ParamMap ¶m_map)=0 |
| | interface method More...
|
| |
|
|
| ParamParser ()=default |
| | protected access
|
| |
◆ ConfFileParser()
| rcsc::ConfFileParser::ConfFileParser |
( |
const std::string & |
file_path, |
|
|
const std::string & |
delim = ":=", |
|
|
const std::string & |
realm = "" |
|
) |
| |
|
explicit |
construct with file path and delimiters
- Parameters
-
| file_path | path string to the config file to be parsed |
| delim | delimiter character set |
| realm | realm string |
◆ parse()
| bool rcsc::ConfFileParser::parse |
( |
ParamMap & |
param_map | ) |
|
|
overridevirtual |
analyze file content and results are stored to parameter map
- Parameters
-
| param_map | reference to the parameter container |
- Returns
- true if successfully parserd
Implements rcsc::ParamParser.
The documentation for this class was generated from the following file: