The C VOTable Parser Library.

[Introduction]- [Download]- [Tutorial]- [Reference]

Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

votable.c File Reference

#include "votable.h"

Functions

int Move_to_Next_VO_Fields (xmlTextReaderPtr reader)
 Move reader to the first FIELD tag contained in the next TABLE tag
PURPOSE : Try to move to the first FIELD tag embedded in the next TABLE tag.

int Move_to_Next_VO_Table (xmlTextReaderPtr reader)
 Try to move to the next TABLE tag
PURPOSE : Try to move to the next TABLE tag.

void Extract_Att_VO_Table (xmlTextReaderPtr reader, VOTable *votablePtr)
 Procedure extracting TABLE tag attributes
PURPOSE : Free table linking list if needed, extracts TABLE attributes from VOTABLE file and stores them in VOTable structure.

void Extract_VO_Fields (xmlTextReaderPtr reader, VOTable *votablePtr, int *nbFields, int **columns)
 Procedure to extract FIELD attribute
PURPOSE : Free field linking list if needed, extracts FIELD attributes from VOTABLE file and stores them in VOTable structure.

int Extract_VO_TableData (xmlTextReaderPtr reader, VOTable *votablePtr, int nbcolumns, int *columns)
 Procedure to extract TD tag attributes and values
PURPOSE : Free tabledata linking list if needed, Extracts TD attributes and values from VOTABLE file and stores them in VOTable structure.

xmlTextReaderPtr Init_VO_Parser (const char *filename, VOTable *votablePtr)
 Parser initialization
PURPOSE : Initializing of VOTable structure and creating xmlTextReader pointer.

int Free_VO_Parser (xmlTextReaderPtr reader, VOTable *votablePtr, int **column)
 VO_Parser memory free
PURPOSE : Free VOTable structure, column and xmlTextReader.