Image Component Library (ICL)
XML.h
Go to the documentation of this file.
1 /********************************************************************
2 ** Image Component Library (ICL) **
3 ** **
4 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
5 ** Neuroinformatics Group **
6 ** Website: www.iclcv.org and **
7 ** http://opensource.cit-ec.de/projects/icl **
8 ** **
9 ** File : ICLUtils/src/ICLUtils/XML.h **
10 ** Module : ICLUtils **
11 ** Authors: Christof Elbrechter **
12 ** **
13 ** **
14 ** GNU LESSER GENERAL PUBLIC LICENSE **
15 ** This file may be used under the terms of the GNU Lesser General **
16 ** Public License version 3.0 as published by the **
17 ** **
18 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
19 ** included in the packaging of this file. Please review the **
20 ** following information to ensure the license requirements will **
21 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt **
22 ** **
23 ** The development of this software was supported by the **
24 ** Excellence Cluster EXC 277 Cognitive Interaction Technology. **
25 ** The Excellence Cluster EXC 277 is a grant of the Deutsche **
26 ** Forschungsgemeinschaft (DFG) in the context of the German **
27 ** Excellence Initiative. **
28 ** **
29 ********************************************************************/
30 
31 #pragma once
32 
33 #include <ICLUtils/PugiXML.h>
34 
35 namespace icl{
36  namespace utils{
37 
38  // note: this file basically contains ICL-specific typedefs for
39  // The included PugiXML backend
40 
42  typedef pugi::xml_node_type XMLNodeType;
43 
45  typedef pugi::xml_encoding XMLEncoding;
46 
48  typedef pugi::xml_writer XMLWriter;
49 
51  typedef pugi::xml_writer_stream XMLStreamWriter;
52 
54  typedef pugi::xml_writer_file XMLFileWriter;
55 
57  typedef pugi::xml_attribute XMLAttribute;
58 
60  typedef pugi::xml_node XMLNode;
61 
63  typedef pugi::xml_node_iterator XMLNodeIterator;
64 
66  typedef pugi::xml_attribute_iterator XMLAttributeIterator;
67 
69  typedef pugi::xml_tree_walker XMLTreeWalker;
70 
72  typedef pugi::xml_parse_status XMLParseStatus;
73 
75  typedef pugi::xml_parse_result XMLParseResult;
76 
78  typedef pugi::xml_document XMLDocument;
79 
81  typedef pugi::xpath_value_type XPathValueType;
82 
84  typedef pugi::xpath_parse_result XPathParseResult;
85 
87  typedef pugi::xpath_variable XPathVariable;
88 
90  typedef pugi::xpath_variable_set XPathVariableSet;
91 
93  typedef pugi::xpath_query XPathQuery;
94 
96  typedef pugi::xpath_exception XPathException;
97 
99  typedef pugi::xpath_node XPathNode;
100 
102  typedef pugi::xpath_node_set XPathNodeSet;
103  } // namespace utils
104 }
105 
pugi::xml_parse_result XMLParseResult
Parsing status class.
Definition: XML.h:75
pugi::xml_tree_walker XMLTreeWalker
XML-Treewalker class.
Definition: XML.h:69
pugi::xml_document XMLDocument
Main XML Document class.
Definition: XML.h:78
undocument this line if you encounter any issues!
Definition: Any.h:37
pugi::xpath_node_set XPathNodeSet
Set of XPath nodes.
Definition: XML.h:102
pugi::xpath_value_type XPathValueType
Type enumeration for xpath values.
Definition: XML.h:81
pugi::xpath_variable XPathVariable
Variable Type for XPath expressions.
Definition: XML.h:87
pugi::xpath_exception XPathException
Exception type for xpath expressions.
Definition: XML.h:96
pugi::xml_writer_file XMLFileWriter
XML writer implementation for files.
Definition: XML.h:54
pugi::xml_node_iterator XMLNodeIterator
Iterator for XMLNodes.
Definition: XML.h:63
pugi::xml_attribute_iterator XMLAttributeIterator
Iterator for XMLAttributes.
Definition: XML.h:66
pugi::xpath_variable_set XPathVariableSet
Set of XPathVariables.
Definition: XML.h:90
pugi::xml_encoding XMLEncoding
XML encoding type.
Definition: XML.h:45
pugi::xpath_query XPathQuery
Precompiled XPath expression.
Definition: XML.h:93
pugi::xml_writer_stream XMLStreamWriter
XML writer implementation for streams.
Definition: XML.h:51
pugi::xml_node_type XMLNodeType
Node type.
Definition: XML.h:42
pugi::xml_parse_status XMLParseStatus
Parsing status enumeration.
Definition: XML.h:72
pugi::xpath_parse_result XPathParseResult
Parse Result class for XPath expressions.
Definition: XML.h:84
pugi::xml_attribute XMLAttribute
XML Attribute class.
Definition: XML.h:57
pugi::xml_writer XMLWriter
XML writer interface.
Definition: XML.h:48
pugi::xml_node XMLNode
XML Node class.
Definition: XML.h:60
pugi::xpath_node XPathNode
Special node type for XPath query results.
Definition: XML.h:99