 |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
Go to the documentation of this file.
7 #ifndef __POPTIONMODE_IMPL_H__
8 #define __POPTIONMODE_IMPL_H__
20 if(!
getOption(option, optionName)){
return false;}
bool isRequired() const
Get if the option is required.
bool isParsed() const
Say if the Option has been parsed or not.
bool getValue(T &value, const std::string &optionName) const
Get the value of the option.
const OptionValue & getValue() const
Get the value of the Option.
bool getOption(Option &option, const std::string &optionName) const
Get the option with its name.
const VecValue & getValue() const
Get the vector of values.
Describe the value of an option passed to a program.