28#ifndef Pt_Xml_XmlFormatter_h
29#define Pt_Xml_XmlFormatter_h
31#include <Pt/Xml/Api.h>
32#include <Pt/Xml/XmlWriter.h>
33#include <Pt/Xml/XmlReader.h>
35#include <Pt/NonCopyable.h>
36#include <Pt/Formatter.h>
94 const Pt::Char* value,
const char*
id);
142 const char* value, std::size_t length,
const char*
id);
184 void addValue(
const char*,
const char* type,
185 const Pt::Char* value,
const char*
id);
188 void OnBegin(
const Node& node);
191 void OnReferenceBegin(
const Node& node);
194 void OnMemberBegin(
const Node& node);
197 void OnValue(
const Node& node);
200 void OnMemberEnd(
const Node& node);
225 ProcessNode _processNode;
Composes types during serialization.
Definition Composer.h:101
NonCopyable()
Default constructor.
Definition NonCopyable.h:63
Unicode capable basic_string.
Definition Api-String.h:67
Represents a closing element tag in an XML document.
Definition EndElement.h:46
XML document node.
Definition Node.h:51
Represents the start of an element in an XML document.
Definition StartElement.h:320
Reads XML as a Stream of XML Nodes.
Definition XmlReader.h:80
Writes XML to a text stream.
Definition XmlWriter.h:53
uint_type uint16_t
Unsigned 16-bit integer type.
Definition Api-Types.h:38
int_type int64_t
Signed 64-bit integer type.
Definition Api-Types.h:59
int_type int32_t
Signed 32-bit integer type.
Definition Api-Types.h:45
uint_type uint32_t
Unsigned 32-bit integer type.
Definition Api-Types.h:52
uint_type uint64_t
Unsigned 64-bit integer type.
Definition Api-Types.h:66
int_type int16_t
Signed 16-bit integer type.
Definition Api-Types.h:31
uint_type uint8_t
Unsigned 8-bit integer type.
Definition Api-Types.h:24
int_type int8_t
Signed 8-bit integer type.
Definition Api-Types.h:17
Read and write XML ducuments.
Core module.
Definition Allocator.h:33
Unicode character type.
Definition String.h:67