Represents a full XML document stored as a tree. More...
#include <bxml_document.h>
Public Member Functions | |
bxml_document () | |
Constructor - default. | |
~bxml_document () | |
Destructor. | |
bxml_data_sptr | root_element () const |
Return the root element. | |
vcl_string | version () const |
Return the version string. | |
vcl_string | encoding () const |
Return the encoding string. | |
bool | standalone () const |
Return the standalone bit. | |
void | set_root_element (const bxml_data_sptr &root) |
set the root element. | |
void | set_version (const vcl_string &version) |
Set the version string. | |
void | set_encoding (const vcl_string &encoding) |
Set the encoding string. | |
void | set_standalone (bool standalone) |
Set the standalone bit. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Private Attributes | |
bxml_data_sptr | root_element_ |
The root element. | |
vcl_string | version_ |
vcl_string | encoding_ |
bool | standalone_ |
Represents a full XML document stored as a tree.
Definition at line 201 of file bxml_document.h.
bxml_document::bxml_document | ( | ) |
Constructor - default.
Definition at line 25 of file bxml_document.cxx.
bxml_document::~bxml_document | ( | ) | [inline] |
Destructor.
Definition at line 208 of file bxml_document.h.
vcl_string bxml_document::encoding | ( | ) | const [inline] |
Return the encoding string.
Definition at line 217 of file bxml_document.h.
bxml_data_sptr bxml_document::root_element | ( | ) | const [inline] |
Return the root element.
Definition at line 211 of file bxml_document.h.
void bxml_document::set_encoding | ( | const vcl_string & | encoding | ) | [inline] |
Set the encoding string.
Definition at line 230 of file bxml_document.h.
void bxml_document::set_root_element | ( | const bxml_data_sptr & | root | ) | [inline] |
set the root element.
Definition at line 223 of file bxml_document.h.
void bxml_document::set_standalone | ( | bool | standalone | ) | [inline] |
Set the standalone bit.
Definition at line 233 of file bxml_document.h.
void bxml_document::set_version | ( | const vcl_string & | version | ) | [inline] |
Set the version string.
Definition at line 227 of file bxml_document.h.
bool bxml_document::standalone | ( | ) | const [inline] |
Return the standalone bit.
Definition at line 220 of file bxml_document.h.
vcl_string bxml_document::version | ( | ) | const [inline] |
Return the version string.
Definition at line 214 of file bxml_document.h.
vcl_string bxml_document::encoding_ [private] |
Definition at line 240 of file bxml_document.h.
bxml_data_sptr bxml_document::root_element_ [private] |
The root element.
Definition at line 237 of file bxml_document.h.
bool bxml_document::standalone_ [private] |
Definition at line 241 of file bxml_document.h.
vcl_string bxml_document::version_ [private] |
Definition at line 239 of file bxml_document.h.