LibreOffice Module l10ntools (master) 1
Classes | Typedefs | Enumerations
xmlparse.hxx File Reference
#include <sal/config.h>
#include <cstddef>
#include <memory>
#include <utility>
#include <vector>
#include <expat.h>
#include <rtl/string.hxx>
#include <rtl/strbuf.hxx>
#include <unordered_map>
Include dependency graph for xmlparse.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XMLAttribute
 Holds data of Attributes. More...
 
class  XMLNode
 Virtual base to handle different kinds of XML nodes. More...
 
class  XMLChildNode
 Virtual base to handle different kinds of child nodes. More...
 
class  XMLParentNode
 Virtual base to handle different kinds of parent nodes. More...
 
class  XMLFile
 Holds information of a XML file, is root node of tree. More...
 
class  XMLUtil
 A Utility class for XML. More...
 
class  XMLElement
 Hold information of an element node. More...
 
class  XMLData
 Holds character data. More...
 
class  XMLComment
 Holds comments. More...
 
class  XMLDefault
 Holds additional file content like those for which no handler exists. More...
 
struct  XMLError
 struct for error information, used by class SimpleXMLParser More...
 
class  SimpleXMLParser
 validating xml parser, creates a document tree with xml nodes More...
 

Typedefs

typedef std::vector< XMLAttribute * > XMLAttributeList
 
typedef std::vector< XMLChildNode * > XMLChildNodeList
 
typedef std::unordered_map< OString, XMLElement * > LangHashMap
 Mapping numeric Language code <-> XML Element. More...
 
typedef std::unordered_map< OString, LangHashMap * > XMLHashMap
 Mapping XML Element string identifier <-> Language Map. More...
 

Enumerations

enum class  XMLNodeType {
  XFILE = 0x001 ,
  ELEMENT = 0x002 ,
  DATA = 0x003 ,
  COMMENT = 0x004 ,
  DEFAULT = 0x005
}
 

Typedef Documentation

◆ LangHashMap

typedef std::unordered_map<OString, XMLElement*> LangHashMap

Mapping numeric Language code <-> XML Element.

Definition at line 140 of file xmlparse.hxx.

◆ XMLAttributeList

typedef std::vector< XMLAttribute* > XMLAttributeList

Definition at line 70 of file xmlparse.hxx.

◆ XMLChildNodeList

typedef std::vector< XMLChildNode* > XMLChildNodeList

Definition at line 106 of file xmlparse.hxx.

◆ XMLHashMap

typedef std::unordered_map<OString, LangHashMap*> XMLHashMap

Mapping XML Element string identifier <-> Language Map.

Definition at line 143 of file xmlparse.hxx.

Enumeration Type Documentation

◆ XMLNodeType

enum class XMLNodeType
strong
Enumerator
XFILE 
ELEMENT 
DATA 
COMMENT 
DEFAULT 

Definition at line 39 of file xmlparse.hxx.