Main Page   Class Hierarchy   Compound List   Compound Members  

VOTResource Class Reference

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

List of all members.

Public Member Functions

 VOTResource ()
 ~VOTResource ()
VOTResource operator= (const VOTResource &resource)
 VOTResource (const VOTResource &resource)
int getDescription (char *&desc)
int getID (char *&ID)
int getName (char *&name)
int getType (resource_type &value)
int getNumOfInfos (int &numOfElements)
int getInfo (VOTInfo &info, int index)
int getNumOfCoosys (int &numOfElements)
int getCoosys (VOTCoosys &coosys, int index)
int getNumOfParams (int &numOfElements)
int getParam (VOTParam &param, int index)
int getNumOfLinks (int &numOfElements)
int getLink (VOTLink &link, int index)
int getNumOfTables (int &numOfElements)
int getNestedDepth (int &depth)


Detailed Description

This class represents <RESOURCE> element in the <VOTABLE>.

A VOTResource element contains description, list of 'Info' elements, list of 'Coosys' elements, list of 'Param' elements, list of 'Link' elements.
Note: It does not contain list of 'Table' elements, and 'list' of VOTResource elements.


Constructor & Destructor Documentation

VOTResource::VOTResource  ) 
 

Default constructor

VOTResource::~VOTResource  ) 
 

Destructor

VOTResource::VOTResource const VOTResource &  resource  ) 
 

Copy constructor.


Member Function Documentation

int VOTResource::getCoosys VOTCoosys coosys,
int  index
 

Get the 'Coosys' element, given the index. Index starts from 0.

int VOTResource::getDescription char *&  desc  ) 
 

Get the 'description' of VOTResource.

int VOTResource::getID char *&  ID  ) 
 

Get the 'ID'.

int VOTResource::getInfo VOTInfo info,
int  index
 

Get the 'Info' element, given the index. Index starts from 0.

int VOTResource::getLink VOTLink link,
int  index
 

Get the 'Link' element, given the index. Index starts from 0.

int VOTResource::getName char *&  name  ) 
 

Get the 'name'.

int VOTResource::getNestedDepth int &  depth  ) 
 

Get nested depth of resource. Nested depth is 0 for a RESOURCE if it is an immediate child of VOTABLE element. For a RESOURCE within a RESOURCE the nested depth will be greater than 0, depending on its distance from the VOTABLE element.

int VOTResource::getNumOfCoosys int &  numOfElements  ) 
 

Get the number of 'Coosys' elements.

int VOTResource::getNumOfInfos int &  numOfElements  ) 
 

Get the number of 'Info' elements.

int VOTResource::getNumOfLinks int &  numOfElements  ) 
 

Get the number of 'Link' elements.

int VOTResource::getNumOfParams int &  numOfElements  ) 
 

Get the number of 'Param' elements.

int VOTResource::getNumOfTables int &  numOfElements  ) 
 

Get the number of 'VTable' elements.

int VOTResource::getParam VOTParam param,
int  index
 

Get the 'Param' element, given the index. Index starts from 0.

int VOTResource::getType resource_type &  value  ) 
 

Get the 'type'.

VOTResource VOTResource::operator= const VOTResource &  resource  ) 
 

Assignment operator overloaded.


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