Inheritance diagram for FieldParam:
This class represents the Field/Param in the MetaData. A Field/Param contains description, a max of 2 values and a list of links.
The <FIELD> and <PARAM> class only differ in some attributes. <FIELD> contains 'type' and <PARAM> contains 'value'.
Public Methods | |
int | getDescription (char *&desc, int *status) |
int | getNumOfValues (int &numOfValues, int *status) |
int | getValues (Values &v, int index, int *status) |
int | getNumOfLinks (int &nLinks, int *status) |
int | getLink (Link &link, int linkNum, int *status) |
int | getID (char *&ID, int *status) |
int | getUnit (char *&unit, int *status) |
int | getDatatype (field_datatype &datatype, int *status) |
int | getPrecision (char *&precision, int *status) |
int | getWidth (int &width, int *status) |
int | getRef (char *&ref, int *status) |
int | getName (char *&name, int *status) |
int | getUCD (char *&ucd, int *status) |
int | getArraySize (char *&arraySize, int *status) |
int | isVariableType (bool &b, int *status) |
|
Gets the arraysize. |
|
Gets the datatype. 'field_datatype' is an enumeration defined in 'global.h'. |
|
Gets the description. |
|
Gets the ID. |
|
Gets the 'Link' at the given index. Index starts at 0. |
|
Gets the name. |
|
Gets number of links. |
|
Gets the number of <VALUES> elements. |
|
Gets the precision. |
|
Gets the ref. |
|
Gets the UCD. |
|
Gets the unit. |
|
Gets 'Values', given the index. Index starts at 0. |
|
Gets the width. |
|
Checks whether data is of variable type. |