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
te::xml::NodeType
NodeType
The type of node read by XML reader.
Definition:
Enums.h:41
te::xml::PROCESSING_INSTRUCTION
@ PROCESSING_INSTRUCTION
Definition:
Enums.h:51
te::xml::END_PREFIX_MAPPING
@ END_PREFIX_MAPPING
Definition:
Enums.h:53
te::xml::END_DOCUMENT
@ END_DOCUMENT
Definition:
Enums.h:44
te::xml::UNKNOWN
@ UNKNOWN
Definition:
Enums.h:42
te::xml::WHITESPACE
@ WHITESPACE
Definition:
Enums.h:50
te::xml::IGNORABLE_WHITESPACE
@ IGNORABLE_WHITESPACE
Definition:
Enums.h:49
te::xml::START_ELEMENT
@ START_ELEMENT
Definition:
Enums.h:45
te::xml::END_ELEMENT
@ END_ELEMENT
Definition:
Enums.h:46
te::xml::START_DOCUMENT
@ START_DOCUMENT
Definition:
Enums.h:43
te::xml::START_PREFIX_MAPPING
@ START_PREFIX_MAPPING
Definition:
Enums.h:52
te::xml::CDATA
@ CDATA
Definition:
Enums.h:48
te::xml::SKIPPED_ENTITY
@ SKIPPED_ENTITY
Definition:
Enums.h:54
te::xml::VALUE
@ VALUE
Definition:
Enums.h:47
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
git_release
src
terralib
xml
Enums.h
Generated on Mon Jun 5 2023 10:44:30 for TerraLib by
1.9.1