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>
34 #include <Pt/String.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;
Core module.
Definition: Allocator.h:33
Represents a closing element tag in an XML document.
Definition: EndElement.h:46
Reads XML as a Stream of XML Nodes.
Definition: XmlReader.h:80
Represents the start of an element in an XML document.
Definition: StartElement.h:320
Writes XML to a text stream.
Definition: XmlWriter.h:53
uint_type uint64_t
Unsigned 64-bit integer type.
Definition: Api-Types.h:62
int_type int64_t
Signed 64-bit integer type.
Definition: Api-Types.h:55
Unicode character type.
Definition: String.h:67
XML document node.
Definition: Node.h:51
Composes types during serialization.
Definition: Composer.h:43
uint_type uint8_t
Unsigned 8-bit integer type.
Definition: Api-Types.h:20
uint_type uint32_t
Unsigned 32-bit integer type.
Definition: Api-Types.h:48
int_type int32_t
Signed 32-bit integer type.
Definition: Api-Types.h:41
Unicode capable basic_string.
Definition: Api-String.h:44
Protects derived classes from being copied.
Definition: NonCopyable.h:54
int_type int8_t
Signed 8-bit integer type.
Definition: Api-Types.h:13
uint_type uint16_t
Unsigned 16-bit integer type.
Definition: Api-Types.h:34
int_type int16_t
Signed 16-bit integer type.
Definition: Api-Types.h:27