VOTableData.cc 2.38 KB
/*
 * VOTableData.cc
 *
 *  Created on: Nov 6, 2014
 *      Author: m.mazel
 */

#include "VOTableData.hh"

namespace TimeTableCatalog {

const std::string VOTableData::SEPARATOR = " ";

const std::string VOTableData::NAME_TAG 				= "Name:";
const std::string VOTableData::CREATION_DATE_TAG 		= "Creation Date:";
const std::string VOTableData::HISTORIC_TAG 			= "Historic:";

const std::string VOTableData::VOTABLE_TAG 				= "VOTABLE";

const std::string VOTableData::VOTABLE_VERSION_ATTRIB 	= "version";
const std::string VOTableData::VOTABLE_VERSION_VALUE 	= "1.3";
const std::string VOTableData::VOTABLE_XMLNS_XSI_ATTRIB	= "xmlns:xsi";
const std::string VOTableData::VOTABLE_XMLNS_XSI_VALUE	= "http://www.w3.org/2001/XMLSchema-instance";
const std::string VOTableData::VOTABLE_XMLNS_ATTRIB		= "xmlns";
const std::string VOTableData::VOTABLE_XMLNS_VALUE		= "http://www.ivoa.net/xml/VOTable/v1.3";
const std::string VOTableData::VOTABLE_XMLNS_STC_ATTRIB	= "xmlns:stc";
const std::string VOTableData::VOTABLE_XMLNS_STC_VALUE	= "http://www.ivoa.net/xml/STC/v1.30";

const std::string VOTableData::RESOURCE_TAG 			= "RESOURCE";
const std::string VOTableData::TABLE_TAG 				= "TABLE";
const std::string VOTableData::FIELD_TAG 				= "FIELD";
const std::string VOTableData::FIELD_NAME_ATTRIB		= "name";
const std::string VOTableData::FIELD_ID_ATTRIB			= "ID";
const std::string VOTableData::FIELD_UCD_ATTRIB			= "ucd";
const std::string VOTableData::FIELD_DATATYPE_ATTRIB	= "datatype";
const std::string VOTableData::FIELD_XTYPE_ATTRIB		= "xtype";
const std::string VOTableData::FIELD_UTYPE_ATTRIB		= "utype";
const std::string VOTableData::FIELD_UNIT_ATTRIB		= "unit";
const std::string VOTableData::FIELD_ARRAYSIZE_ATTRIB	= "arraysize";

const std::string VOTableData::DESCRIPTION_TAG 			= "DESCRIPTION";
const std::string VOTableData::PARAMETER_TAG 			= "PARAMETER";
const std::string VOTableData::DATA_TAG 				= "DATA";
const std::string VOTableData::TABLEDATA_TAG 			= "TABLEDATA";
const std::string VOTableData::TR_TAG 					= "TR";
const std::string VOTableData::TD_TAG 					= "TD";

const std::string VOTableData::LIST_START_DATE_KEYWORD = "ListStartDate:";
const std::string VOTableData::LIST_STOP_DATE_KEYWORD = "ListStopDate:";                     
const std::string VOTableData::CONTACT_KEYWORD = "Contact:";                     
const std::string VOTableData::MODIFY_DATE_KEYWORD = "ModifyDate:";

} /* namespace TimeTableCatalog */