ctai_xml.h

Go to the documentation of this file.
00001 /*
00002 COSTA: Problem solving environment for data assimilation
00003 Copyright (C) 2005  Nils van Velzen
00004 
00005 This library is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU Lesser General Public
00007 License as published by the Free Software Foundation; either
00008 version 2.1 of the License, or (at your option) any later version.
00009 
00010 This library is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 Lesser General Public License for more details.
00014 
00015 You should have received a copy of the GNU Lesser General Public
00016 License along with this library; if not, write to the Free Software
00017 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 
00020 /**
00021 \file  ctai_xml.h
00022 \brief Utilities for XML access: reading/writing of trees from/to a XML file.
00023 \note This include is only to be used internally
00024 
00025 */
00026 
00027 #ifndef CTAI_XML_H
00028 #define CTAI_XML_H
00029 
00030 #include <libxml/encoding.h>
00031 #include <libxml/parser.h>
00032 #include <libxml/tree.h>
00033 #include <libxml/xinclude.h>
00034 #include <libxml/xmlwriter.h>
00035 
00036 
00037 /* COSTA-specific element properties */
00038 #define CTAI_XML_DATABASE     ("database")
00039 #define CTAI_XML_SELECT       ("select")
00040 #define CTAI_XML_ID           ("id")
00041 #define CTAI_XML_START        ("start")
00042 #define CTAI_XML_STEP         ("step")
00043 #define CTAI_XML_STOP         ("stop")
00044 #define CTAI_XML_TAG          ("tag")
00045 #define CTAI_XML_NAME         ("name")
00046 #define CTAI_XML_DATATYPE     ("datatype")
00047 #define CTAI_XML_DIMENSION    ("dimension")
00048 #define CTAI_XML_VALUES       ("values")
00049 #define CTAI_XML_VECTOR       ("vector")
00050 #define CTAI_XML_VALUE        ("value")
00051 #define CTAI_XML_LIBRARY      ("library")
00052 #define CTAI_XML_FUNCTION     ("function")
00053 #define CTAI_XML_UNIT         ("unit")
00054 #define CTAI_XML_MISSINGVALUE ("missingValue")
00055 #define CTAI_XML_GRID         ("grid")
00056 #define CTAI_XML_CAPTION      ("caption")
00057 #define CTAI_XML_LENGTH       ("length")
00058 #define CTAI_XML_EXCLUDEFROMVECTOR      ("excludeFromVector")
00059 #define CTAI_XML_IMPLEMENTS   ("implements")
00060 #define CTAI_XML_NPROC          ("nproc")
00061 #define CTAI_XML_PARALLEL_TYPE  ("parallel_type")
00062 #define CTAI_XML_NTIMES         ("ntimes")
00063 #define CTAI_XML_DUMPROCS       ("dumproc")
00064 #define CTAI_XML_SOBSCLASSNAME  ("class")
00065 
00066 #define MY_ENCODING  ("ISO-8859-1")
00067 
00068 
00069 
00070 #endif /* CTA_XML_H */

Generated on Mon Apr 6 14:05:58 2009 for COSTA by  doxygen 1.5.2