Main Page   Class Hierarchy   Compound List   Compound Members  

VOTTable Class Reference

This class represents the <TABLE> element in the <RESOURCE>. More...

List of all members.

Public Member Functions

 VOTTable ()
 ~VOTTable ()
VOTTable operator= (const VOTTable &table)
 VOTTable (const VOTTable &table)
int getName (char *&name)
int getID (char *&ID)
int getRef (char *&ref)
int getDataType (table_data_type &type)
int getNumOfColumns (int &ncols)
int getNumOfLinks (int &nLinks)
int getField (VOTField &field, int fieldNum)
int getLink (VOTLink &link, int linkNum)
int getDescription (char *&desc)


Detailed Description

This class represents the <TABLE> element in the <RESOURCE>

A VOTTable consists of meta-data i.e. FIELDS and LINKS. Note: It does not contain the actual row data.


Constructor & Destructor Documentation

VOTTable::VOTTable  ) 
 

Default constructor

VOTTable::~VOTTable  ) 
 

Destructor

VOTTable::VOTTable const VOTTable &  table  ) 
 

Copy constructor


Member Function Documentation

int VOTTable::getDataType table_data_type &  type  ) 
 

Gets the type of data in the TABLE element. Type can be either FITS, BINARY, TABLEDATA or none.

int VOTTable::getDescription char *&  desc  ) 
 

Gets the description of the Table.

int VOTTable::getField VOTField field,
int  fieldNum
 

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

int VOTTable::getID char *&  ID  ) 
 

Gets 'ID'.

int VOTTable::getLink VOTLink link,
int  linkNum
 

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

int VOTTable::getName char *&  name  ) 
 

Gets 'name'.

int VOTTable::getNumOfColumns int &  ncols  ) 
 

Gets total number of Columns i.e. elements in this table.

int VOTTable::getNumOfLinks int &  nLinks  ) 
 

Gets total number of Links.

int VOTTable::getRef char *&  ref  ) 
 

Gets 'Ref'.

VOTTable VOTTable::operator= const VOTTable &  table  ) 
 

Assignment operator


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