|
Assignments
Assignments
|
#include <cmdLineParser.h>
Public Member Functions | |
| CmdLineParameterArray (const std::string &name, const Type *v=NULL) | |
| int | read (char **argv, int argc) |
Public Member Functions inherited from Util::CmdLineReadable | |
| CmdLineReadable (const std::string &name) | |
| virtual | ~CmdLineReadable (void) |
Public Attributes | |
| Type | values [Dim] |
Public Attributes inherited from Util::CmdLineReadable | |
| bool | set |
| std::string | name |
This templated class represents a named argument taking a fixed number of values of the prescribed type
| Util::CmdLineParameterArray< Type, Dim >::CmdLineParameterArray | ( | const std::string & | name, |
| const Type * | v = NULL ) |
Constructor with the name of the argument and the default values
|
virtual |
Try to set the argument from the list of command line arguments. Returns thenumber of arguments ingested.
Reimplemented from Util::CmdLineReadable.
| Type Util::CmdLineParameterArray< Type, Dim >::values[Dim] |
The values the parameter has been set to