Loading...
Searching...
No Matches
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
31namespace 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. */
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:41
@ PROCESSING_INSTRUCTION
Definition: Enums.h:51
@ END_PREFIX_MAPPING
Definition: Enums.h:53
@ END_DOCUMENT
Definition: Enums.h:44
@ UNKNOWN
Definition: Enums.h:42
@ WHITESPACE
Definition: Enums.h:50
@ IGNORABLE_WHITESPACE
Definition: Enums.h:49
@ START_ELEMENT
Definition: Enums.h:45
@ END_ELEMENT
Definition: Enums.h:46
@ START_DOCUMENT
Definition: Enums.h:43
@ START_PREFIX_MAPPING
Definition: Enums.h:52
@ CDATA
Definition: Enums.h:48
@ SKIPPED_ENTITY
Definition: Enums.h:54
@ VALUE
Definition: Enums.h:47
TerraLib.