XmlDeclaration Class Reference

#include <Pt/Xml/XmlDeclaration.h>

XML declaration of an XML document.

Public Member Functions

 XmlDeclaration ()
 Constructs an empty XmlDeclaration.
void clear ()
 Clears all content.
const std::string & version () const
 Returns the version string.
std::string & version ()
 Returns the version string.
const std::string & encoding () const
 Returns the encoding string.
std::string & encoding ()
 Returns the encoding string.
bool isStandalone () const
 Returns true if the document is standalone.
void setStandalone (bool value)
 Indicates that the document is standalone.