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

Contains also a short name, a long name and a help message.
Definition at line 85 of file argumentParser.h.
Public Member Functions | |
| Argument (T *t, char sn, string ln, string h, bool m) | |
| Constructor. | |
| void | printValue () const |
| General case for printing default value. | |
Private Member Functions | |
| bool | read (std::istream &str) |
| Specialisation for flag reading bool. | |
Private Attributes | |
| T * | ptr |
| Pointer to the parameter. | |
|
||||||||||||||||||||||||||||
|
Constructor.
Definition at line 95 of file argumentParser.h. References animal::Argument< T >::ptr. |
|
|||||||||
|
General case for printing default value.
Implements animal::ArgumentBase. Definition at line 131 of file argumentParser.h. References animal::Argument< T >::ptr. |
|
|
Specialisation for flag reading bool. Return false if failed Implements animal::ArgumentBase. Definition at line 110 of file argumentParser.h. References animal::Argument< T >::ptr. |
|
|||||
|
Pointer to the parameter.
Definition at line 104 of file argumentParser.h. Referenced by animal::Argument< T >::Argument(), animal::Argument< T >::printValue(), and animal::Argument< T >::read(). |
1.3.6