29 #ifndef Pt_Xml_XmlDeclaration_h
30 #define Pt_Xml_XmlDeclaration_h
32 #include <Pt/Xml/Api.h>
33 #include <Pt/String.h>
83 {
return _standalone; }
88 { _standalone = value; }
92 std::string _encoding;
100 #endif // Pt_Xml_XmlDeclaration_h
std::string & encoding()
Returns the encoding string.
Definition: XmlDeclaration.h:77
const std::string & version() const
Returns the version string.
Definition: XmlDeclaration.h:62
XML declaration of an XML document.
Definition: XmlDeclaration.h:42
void setStandalone(bool value)
Indicates that the document is standalone.
Definition: XmlDeclaration.h:87
void clear()
Clears all content.
Definition: XmlDeclaration.h:53
const std::string & encoding() const
Returns the encoding string.
Definition: XmlDeclaration.h:72
std::string & version()
Returns the version string.
Definition: XmlDeclaration.h:67
bool isStandalone() const
Returns true if the document is standalone.
Definition: XmlDeclaration.h:82
XmlDeclaration()
Constructs an empty XmlDeclaration.
Definition: XmlDeclaration.h:47