Assignments
Assignments
|
#include <cmdLineParser.h>
Public Member Functions | |
CmdLineReadable (const std::string &name) | |
virtual | ~CmdLineReadable (void) |
virtual int | read (char **argv, int argc) |
Public Attributes | |
bool | set |
std::string | name |
This class represents a named argument that can be read from the command line
|
inline |
Constructor with the name of the argument
|
inlinevirtual |
Destructor
|
inlinevirtual |
Try to set the argument from the list of command line arguments. Returns thenumber of arguments ingested.
Reimplemented in Util::CmdLineParameter< Type >, Util::CmdLineParameterArray< Type, Dim >, and Util::CmdLineParameters< Type >.
std::string Util::CmdLineReadable::name |
The argument's name
bool Util::CmdLineReadable::set |
Has the argument been set