clingo
|
#include <program_options.h>
Public Types | |
typedef std::pair < SharedOptPtr, std::string > | OptionAndValue |
typedef std::vector < OptionAndValue > | Values |
typedef Values::const_iterator | iterator |
Public Member Functions | |
ParsedValues (const OptionContext &a_ctx) | |
void | add (const std::string &opt, const std::string &value) |
Adds a value for option opt. More... | |
void | add (const SharedOptPtr &opt, const std::string &value) |
iterator | begin () const |
iterator | end () const |
void | clear () |
Public Attributes | |
const OptionContext * | ctx |
Container of option-value-pairs representing values found by a parser.
typedef Values::const_iterator ProgramOptions::ParsedValues::iterator |
typedef std::pair<SharedOptPtr, std::string> ProgramOptions::ParsedValues::OptionAndValue |
typedef std::vector<OptionAndValue> ProgramOptions::ParsedValues::Values |
|
inlineexplicit |
a_ctx | The OptionContext for which this object stores raw-values. |
void ProgramOptions::ParsedValues::add | ( | const std::string & | opt, |
const std::string & | value | ||
) |
Adds a value for option opt.
|
inline |
|
inline |
|
inline |
|
inline |
const OptionContext* ProgramOptions::ParsedValues::ctx |