#include <args.h>
Public Member Functions | |
ArgParser (const NumberParameter *numeric, StringParameter *string, PublicValues &ctrl=defaultControl) | |
Parses commanline, stores numeric pars in control and string pars in StringParameter.value. | |
void | parse (int argc, char *argv[]) |
void | print () |
print current values of the parameters | |
Protected Types | |
typedef std::map< std::string, const NumberParameter * > | Mn |
typedef std::map< std::string, StringParameter * > | Ms |
Protected Member Functions | |
void | error (const std::string txt) |
void | help () |
Protected Attributes | |
Mn | mn |
Ms | ms |
PublicValues & | control |
|
|
|
|
|
Parses commanline, stores numeric pars in control and string pars in StringParameter.value. Also sets defaults if not specified.
|
|
|
|
|
|
|
|
print current values of the parameters
|
|
|
|
|
|
|