7 #ifndef __POPTIONMODE_IMPL_H__
8 #define __POPTIONMODE_IMPL_H__
20 if(!
getOption(option, optionName)){
return false;}
bool getOption(Option &option, const PString &optionName) const
Get the option with its name.
bool getValue(T &value, const PString &optionName) const
Get the value of the option.
Describe the value of an option passed to a program.
const PVecString & getValue() const
Get the vector of values.
Describes an option passed to a program.
const OptionValue & getValue() const
Get the value of the Option.
bool isParsed() const
Say if the Option has been parsed or not.
bool isRequired() const
Get if the option is required.