Enums.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/xml/Enums.h
22 
23  \brief Enumerations of XML module.
24 
25  \ingroup xml
26 */
27 
28 #ifndef __TERRALIB_XML_INTERNAL_ENUMS_H
29 #define __TERRALIB_XML_INTERNAL_ENUMS_H
30 
31 namespace te
32 {
33  namespace xml
34  {
35  /*!
36  \enum NodeType
37 
38  \brief The type of node read by XML reader.
39  */
40  typedef enum NodeType
41  {
42  UNKNOWN = 0, /*!< If the parser has read something not known. */
43  START_DOCUMENT = 1, /*!< Signals that the start of document was reached. */
44  END_DOCUMENT = 2, /*!< Signals that the end of document was reached. */
45  START_ELEMENT = 3, /*!< The parser has reached the element startint tag. */
46  END_ELEMENT = 4, /*!< The parser has reached the element closing tag. */
47  VALUE = 5, /*!< The parser has reached the text value of an element. */
48  CDATA = 6, /*!< The parser has read a CDATA. */
49  IGNORABLE_WHITESPACE = 7, /*!< The parser has read ignorable whitespaces. */
50  WHITESPACE = 8, /*!< The parser has read whitespaces. */
51  PROCESSING_INSTRUCTION = 9, /*!< The parser has read a processing instruction. */
52  START_PREFIX_MAPPING = 10, /*!< The parser is signaling the start of prefix mapping. */
53  END_PREFIX_MAPPING = 11, /*!< The parser is signaling the end of prefix mapping. */
54  SKIPPED_ENTITY = 12 /*!< The parser is signaling an skipped entity. */
55  } NodeType;
56 
57  } // end namespace xml
58 } // end namespace te
59 
60 #endif // __TERRALIB_XML_INTERNAL_ENUMS_H
61 
NodeType
The type of node read by XML reader.
Definition: Enums.h:40
URI C++ Library.