Main Page Class Hierarchy Alphabetical List Compound List Compound Members

# Values Class Reference

List of all members.

## Public Methods
| Values ()
| ~Values ()
Values | operator= (const Values &v)
| Values (const Values &v)
int | getID (char *&ID, int *status)
int | getType (values_type &type, int *status)
int | getNull (char *&null, int *status)
int | isValid (bool &invalid, int *status)
int | getMinimun (Range *&min, int *status)
int | getMaximum (Range *&max, int *status)
int | getOption (Option &option, int index, int *status)
int | getNumOfOptions (int &numOfOptions, int *status)

## Detailed Description

This class represents the <VALUES> element in the <FIELD> of a .

A Values element consists of a Minimum, Maximum and a collection of Options.

## Constructor & Destructor Documentation

Values::Values | ( |  | ) |

| Default Constructor

Values::~Values | ( |  | ) |

| Destructor

Values::Values | ( | const Values & | v | ) |

| Copy Constructor

## Member Function Documentation

int Values::getID | ( | char *& | ID,
|  | int * | status
| ) |

| Gets the 'ID'.

int Values::getMaximum | ( | Range *& | max,
|  | int * | status
| ) |

| Gets the <MAX>.

int Values::getMinimun | ( | Range *& | min,
|  | int * | status
| ) |

| Gets the <MIN>.

int Values::getNull | ( | char *& | null,
|  | int * | status
| ) |

| Gets the 'null'.

int Values::getNumOfOptions | ( | int & | numOfOptions,
|  | int * | status
| ) |

| Gets the number of Options.

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

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

int Values::getType | ( | values_type & | type,
|  | int * | status
| ) |

| Gets the 'type'. 'values_type' is defined in 'gloabal'h'.

int Values::isValid | ( | bool & | invalid,
|  | int * | status
| ) |

| Gets the 'invalid', true if 'invalid' is 'yes'.

Values Values::operator= | ( | const Values & | v | ) |

| Assignment operator overloaded.