Api.h
1/* Copyright (C) 2005-2013 by Dr. Marc Boris Duerner
2 SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3*/
4
5#ifndef PT_XML_API_H
6#define PT_XML_API_H
7
8#include <Pt/Api.h>
9
10#define PT_XML_VERSION_MAJOR PT_VERSION_MAJOR
11#define PT_XML_VERSION_MINOR PT_VERSION_MINOR
12#define PT_XML_VERSION_REVISION PT_VERSION_REVISION
13#define PT_XML_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15#if defined(PT_XML_API_EXPORT)
16# define PT_XML_API PT_EXPORT
17# else
18# define PT_XML_API PT_IMPORT
19# endif
20
21namespace Pt {
22
26namespace Xml {
27
28 class ByteorderMark;
29 class Characters;
30 class Comment;
31 class DocType;
32 class EndDocType;
34 class DocTypeValidator;
35 class EndDocument;
36 class EndElement;
37 class Entity;
38 class EntityReference;
39 class InputSource;
40 class Namespace;
41 class Node;
42 class Notation;
44 class QName;
45 class StartDocument;
46 class StartElement;
47 class XmlDeclaration;
48 class XmlDeserializer;
49 class XmlError;
50 class XmlFormatter;
51 class XmlReader;
52 class XmlResolver;
54 class XmlSerializer;
55 class XmlWriter;
56
57} // namespace Xml
58
59} // namespace Pt
60
61#endif
XML byte order mark.
Definition ByteorderMark.h:41
A Character node represents text in an XML document.
Definition Characters.h:48
A Comment node represents a comment in an XML document.
Definition Comment.h:45
The DocTypeDefinition of an XML document.
Definition DocTypeDefinition.h:58
Validates an XML document against a DTD.
Definition DocTypeValidator.h:49
A DocType node represents the begin of a DTD.
Definition DocType.h:54
An EndDocType node represents the end of a DTD.
Definition DocType.h:160
Represents the end of an XML document.
Definition EndDocument.h:46
Represents a closing element tag in an XML document.
Definition EndElement.h:46
An entity reference XML node.
Definition Entity.h:138
An entity declaration in a DTD.
Definition Entity.h:45
Input source for the XML reader.
Definition InputSource.h:61
A namespace used in an XML document.
Definition Namespace.h:47
XML document node.
Definition Node.h:51
A notation declaration in a DTD.
Definition Notation.h:42
A processing instruction of an XML document.
Definition ProcessingInstruction.h:48
A qualified XML name.
Definition QName.h:47
A Node representing the begin of the XML document.
Definition StartDocument.h:45
Represents the start of an element in an XML document.
Definition StartElement.h:320
XML declaration of an XML document.
Definition XmlDeclaration.h:43
Deserialize objects and data from XML.
Definition XmlDeserializer.h:46
Exception during XML processing.
Definition XmlError.h:44
Format objects or data to XML.
Definition XmlFormatter.h:52
Reads XML as a Stream of XML Nodes.
Definition XmlReader.h:80
Resolves external entities and DTDs.
Definition XmlResolver.h:54
Serialization context for XML serialization.
Definition XmlSerializationContext.h:46
Serialize objects or data to XML.
Definition XmlSerializer.h:46
Writes XML to a text stream.
Definition XmlWriter.h:53
Read and write XML ducuments.
Core module.
Definition Allocator.h:33