AnimaL |
Tutorial |
Documentation |
#include <argumentParser.h>
Inheritance diagram for animal::ArgumentBase:

Definition at line 24 of file argumentParser.h.
Public Types | |
| typedef std::string | string |
| character string | |
Public Member Functions | |
| ArgumentBase (char s, string l, string h, bool m) | |
| Constructor. | |
| virtual | ~ArgumentBase () |
| Base destructor: does nothing. | |
| virtual bool | read (std::istream &)=0 |
| Read the command line. | |
| virtual void | printValue () const=0 |
| Print the value of the associated variable. | |
| void | print () const |
| print short name, long name, help | |
Public Attributes | |
| char | shortName |
| Short name. | |
| string | longName |
| Long name. | |
| string | help |
| Help message. | |
| bool | mandatory |
| True iff the value must be set. | |
| bool | isSet |
| True iff a value has bee read on the command line. | |
|
|
character string
Definition at line 27 of file argumentParser.h. Referenced by ArgumentBase(). |
|
||||||||||||||||||||
|
Constructor.
Definition at line 35 of file argumentParser.h. References help, isSet, longName, mandatory, shortName, and string. |
|
|
Base destructor: does nothing.
Definition at line 44 of file argumentParser.h. |
|
|
print short name, long name, help
Definition at line 57 of file argumentParser.h. References help, longName, mandatory, printValue(), and shortName. |
|
|
Print the value of the associated variable.
Implemented in animal::Argument< T >. Referenced by print(). |
|
|
Read the command line.
Implemented in animal::Argument< T >. |
|
|
Help message.
Definition at line 54 of file argumentParser.h. Referenced by ArgumentBase(), and print(). |
|
|
True iff a value has bee read on the command line.
Definition at line 69 of file argumentParser.h. Referenced by ArgumentBase(). |
|
|
Long name.
Definition at line 53 of file argumentParser.h. Referenced by ArgumentBase(), and print(). |
|
|
True iff the value must be set.
Definition at line 66 of file argumentParser.h. Referenced by ArgumentBase(), and print(). |
|
|
Short name.
Definition at line 52 of file argumentParser.h. Referenced by ArgumentBase(), and print(). |
1.3.6