Public Methods | |
Option () | |
~Option () | |
Option | operator= (const Option &o) |
Option (const Option &o) | |
int | getName (char *&name, int *status) |
int | getValue (char *&value, int *status) |
int | getOption (Option &option, int index, int *status) |
int | getNumOfOptions (int &numOfOptions, int *status) |
An Option element consists of a name and value.
|
Default constructor. |
|
Destructor |
|
Copy constructor. |
|
Gets the 'name'. |
|
Gets the number of options. |
|
Gets the 'Option', given the index. Index starts at 0. |
|
Gets the 'value'. |
|
Assignment operator overloaded. |