LangfordNumberOptions Class Reference
Inherits Options.
Detailed Description
Options taking two additional parameters.Definition at line 50 of file langford-number.cc.
Public Member Functions | |
LangfordNumberOptions (const char *s, int k0, int n0) | |
Parameters to be given on the command line Initialize options for example with name s. | |
void | parse (int &argc, char *argv[]) |
Parse options from arguments argv (number is argc). | |
virtual void | help (void) |
Print help message. | |
Public Attributes | |
int | k |
int | n |
Constructor & Destructor Documentation
LangfordNumberOptions::LangfordNumberOptions | ( | const char * | s, | |
int | k0, | |||
int | n0 | |||
) | [inline] |
Parameters to be given on the command line Initialize options for example with name s.
Definition at line 54 of file langford-number.cc.
Member Function Documentation
void LangfordNumberOptions::parse | ( | int & | argc, | |
char * | argv[] | |||
) | [inline] |
Parse options from arguments argv (number is argc).
Reimplemented from Options.
Definition at line 57 of file langford-number.cc.
virtual void LangfordNumberOptions::help | ( | void | ) | [inline, virtual] |
Member Data Documentation
Definition at line 52 of file langford-number.cc.
Definition at line 52 of file langford-number.cc.
The documentation for this class was generated from the following file:
- examples/langford-number.cc (Revision: 7474)