Definition at line 24 of file MetaParser.hpp.
|
| | MetaParser (boost::program_options::options_description &desc) |
| |
| bool | parse (std::string &opts) |
| | Parse the string of options.
|
| |
| template<typename T > |
| bool | getOption (std::string opt, T &value) |
| | Return the option opt in value.
|
| |
| void | clear () |
| | clear everything you parsed so far
|
| |
|
| boost::program_options::options_description | desc |
| |
| boost::program_options::variables_map | vm |
| |
◆ MetaParser()
| MetaParser::MetaParser |
( |
boost::program_options::options_description & |
desc | ) |
|
|
inlineexplicit |
◆ clear()
| void MetaParser::clear |
( |
| ) |
|
|
inline |
clear everything you parsed so far
Definition at line 77 of file MetaParser.hpp.
◆ getOption()
template<typename T >
| bool MetaParser::getOption |
( |
std::string |
opt, |
|
|
T & |
value |
|
) |
| |
|
inline |
Return the option opt in value.
- Parameters
-
| opt | option to check |
| value | where to store the value of the option |
- Returns
- true if the option has been set
Definition at line 62 of file MetaParser.hpp.
◆ parse()
| bool MetaParser::parse |
( |
std::string & |
opts | ) |
|
|
inline |
Parse the string of options.
- Parameters
-
Definition at line 42 of file MetaParser.hpp.
◆ desc
| boost::program_options::options_description MetaParser::desc |
|
private |
◆ vm
| boost::program_options::variables_map MetaParser::vm |
|
private |
The documentation for this class was generated from the following file: