| Static Value-Flow Analysis
    | 
#include <CommandLine.h>
 
  
| Public Types | |
| typedef std::vector< OptionPossibility< T > > | OptionPossibilities | 
| Public Member Functions | |
| OptionMap (std::string name, std::string description, T init, OptionPossibilities possibilities) | |
| virtual bool | canSet (void) const override | 
| Can this option be set? | |
| virtual bool | parseAndSetValue (const std::string s) override | 
| From a given string, set the value of this option. | |
| T | operator() (void) const | 
| Private Attributes | |
| bool | isExplicitlySet | 
| T | value | 
| OptionPossibilities | possibilities | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from OptionBase | |
| static std::vector< std::string > | parseOptions (int argc, char *argv[], std::string description, std::string callFormat) | 
|  Protected Types inherited from OptionBase | |
| typedef std::pair< std::string, std::string > | PossibilityDescription | 
| Name/description pairs. | |
| typedef std::vector< std::pair< std::string, std::string > > | PossibilityDescriptions | 
| template<typename T > | |
| using | OptionPossibility = std::tuple< T, std::string, std::string > | 
|  Protected Member Functions inherited from OptionBase | |
| OptionBase (std::string name, std::string description) | |
| OptionBase (std::string name, std::string description, PossibilityDescriptions possibilityDescriptions) | |
| virtual bool | isBool (void) const | 
| virtual bool | isMultiple (void) const | 
| Whether this option is an OptionMultiple. | |
|  Static Protected Member Functions inherited from OptionBase | |
| template<typename T > | |
| static PossibilityDescriptions | extractPossibilityDescriptions (const std::vector< OptionPossibility< T > > possibilities) | 
| static std::map< std::string, OptionBase * > & | getOptionsMap (void) | 
|  Protected Attributes inherited from OptionBase | |
| std::string | name | 
| std::string | description | 
| PossibilityDescriptions | possibilityDescriptions | 
| For when we have possibilities like in an OptionMap. | |
Option allowing a limited range of values, probably corresponding to an enum. Opt() gives the value.
Definition at line 409 of file CommandLine.h.
| typedef std::vector<OptionPossibility<T> > OptionMap< T >::OptionPossibilities | 
Definition at line 412 of file CommandLine.h.
| 
 | inline | 
Definition at line 414 of file CommandLine.h.
| 
 | inlineoverridevirtual | 
| 
 | inline | 
Definition at line 443 of file CommandLine.h.
| 
 | inlineoverridevirtual | 
From a given string, set the value of this option.
Implements OptionBase.
Definition at line 426 of file CommandLine.h.
| 
 | private | 
Definition at line 449 of file CommandLine.h.
| 
 | private | 
Definition at line 451 of file CommandLine.h.
| 
 | private | 
Definition at line 450 of file CommandLine.h.