Public Methods | |
VTable () | |
VTable (const char *filename, const char *path, int iomode, int *status) | |
~VTable () | |
VTable | operator= (const VTable &v) |
VTable (const VTable &v) | |
int | openFile (const char *filename, const char *path, int iomode, int *status) |
int | closeFile (int *status) |
int | getMetaData (TableMetaData &tmd, int *status) |
int | getData (TableData &td, int *status) |
int | getName (char *&name, int *status) |
int | getID (char *&ID, int *status) |
int | getRef (char *&ref, int *status) |
A virtual table is a memory representation of a Table in VOTable. A VTable consists of metadata and data.
|
Default Constructor. |
|
Constructs a 'VTable' from a <TABLE> element from the given VOTABLE file, the xpath denotes the position of the <TABLE> element to be opened. Example - To read the first <TABLE> in the first <RESOURCE> use "/RESOURCE[1]/TABLE[1]" in the xpath. To read a <TABLE> with ID as 'ycat' use "/RESOURCE[1]/TABLE[@ID='ycat']" in the xpath. Make sure that the xpath points to a single <TABLE> element, else VOERROR will be returned. Note that xpath is case sensitive. Currently the parameter 'iomode' is ignored since all files are opened in 'readonly' mode. |
|
Destructor |
|
Copy Constructor |
|
Close the VTable. |
|
Gets the 'TableData'. |
|
Gets 'ID'. |
|
Gets the 'TableMetaData'. |
|
Gets 'name'. |
|
Gets 'Ref'. |
|
Opens a <TABLE> element from the given VOTABLE file, the xpath denotes the position of the <TABLE> element to be opened. Example - To read the first <TABLE> in the first <RESOURCE> use "/RESOURCE[1]/TABLE[1]" in the xpath. To read a <TABLE> with ID as 'ycat' use "/RESOURCE[1]/TABLE[@ID='ycat']" in the xpath. Make sure that the xpath points to a single <TABLE> element, else VOERROR will be returned. Currently the parameter 'iomode' is ignored since all files are opened in 'readonly' mode. |
|
Assignment Operator Overloaded. |