|
|
| MetaParser (boost::program_options::options_description &desc) |
| |
| bool | parse (std::string &opts) |
| | Parse the string of options. More...
|
| |
| template<typename T > |
| bool | getOption (std::string opt, T &value) |
| | Return the option opt in value. More...
|
| |
|
void | clear () |
| | clear everything you parsed so far
|
| |
|
|
boost::program_options::options_description | desc |
| |
|
boost::program_options::variables_map | vm |
| |
Definition at line 24 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.
The documentation for this class was generated from the following file: