Main Page   Class Hierarchy   Compound List   Compound Members  

VOTFieldParam Class Reference

This class is an abstract class, base class of <FIELD> and <PARAM>. More...

Inheritance diagram for VOTFieldParam:

VOTField VOTParam List of all members.

Public Member Functions

int getDescription (char *&desc)
int getNumOfValues (int &numOfValues)
int getValues (VOTValues &values, int index)
int getNumOfLinks (int &nLinks)
int getLink (VOTLink &link, int linkNum)
int getID (char *&ID)
int getUnit (char *&unit)
int getDatatype (field_datatype &datatype)
int getPrecision (char *&precision)
int getWidth (int &width)
int getRef (char *&ref)
int getName (char *&name)
int getUCD (char *&ucd)
int getArraySize (char *&arraySize)
int isVariableType (bool &b)

Detailed Description

This class is an abstract class, base class of <FIELD> and <PARAM>.

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 and class only differ in some attributes. contains 'type' and contains 'value'.


Member Function Documentation

int VOTFieldParam::getArraySize char *&  arraySize  ) 
 

Gets the arraysize.

int VOTFieldParam::getDatatype field_datatype &  datatype  ) 
 

Gets the datatype. 'field_datatype' is an enumeration defined in 'VOTGlobal.h'.

int VOTFieldParam::getDescription char *&  desc  ) 
 

Gets the description.

int VOTFieldParam::getID char *&  ID  ) 
 

Gets the ID.

int VOTFieldParam::getLink VOTLink link,
int  linkNum
 

Gets the 'Link' at the given index. Index starts at 0.

int VOTFieldParam::getName char *&  name  ) 
 

Gets the name.

int VOTFieldParam::getNumOfLinks int &  nLinks  ) 
 

Gets number of links.

int VOTFieldParam::getNumOfValues int &  numOfValues  ) 
 

Gets the number of elements.

int VOTFieldParam::getPrecision char *&  precision  ) 
 

Gets the precision.

int VOTFieldParam::getRef char *&  ref  ) 
 

Gets the ref.

int VOTFieldParam::getUCD char *&  ucd  ) 
 

Gets the UCD.

int VOTFieldParam::getUnit char *&  unit  ) 
 

Gets the unit.

int VOTFieldParam::getValues VOTValues values,
int  index
 

Gets 'Values', given the index. Index starts at 0.

int VOTFieldParam::getWidth int &  width  ) 
 

Gets the width.

int VOTFieldParam::isVariableType bool &  b  ) 
 

Checks whether data is of variable type.


The documentation for this class was generated from the following files:
Generated on Fri May 9 19:13:18 2003 for C++ Streaming Parser by doxygen1.3