Main Page Class Hierarchy Compound List Compound Members

# Option Class Reference

List of all members.

## 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)

## Detailed Description

This class represents <OPTION> element.

An Option element consists of a name and value.

## Constructor & Destructor Documentation

Option.Option | ( |  | ) |

| Default constructor.

Option.~Option | ( |  | ) |

| Destructor

Option.Option | ( | const Option & | o | ) |

| Copy constructor.

## Member Function Documentation

int Option.getName | ( | char *& | name,
|  | int * | status
| ) |

| Gets the 'name'.

int Option.getNumOfOptions | ( | int & | numOfOptions,
|  | int * | status
| ) |

| Gets the number of options.

int Option.getOption | ( | Option & | option,
|  | int | index,
|  | int * | status
| ) |

| Gets the 'Option', given the index. Index starts at 0.

int Option.getValue | ( | char *& | value,
|  | int * | status
| ) |

| Gets the 'value'.

Option Option.operator= | ( | const Option & | o | ) |

| Assignment operator overloaded.