text data within XML. More...
#include <bxml_document.h>
Public Types | |
enum | datatype { TEXT, ELEMENT } |
Public Member Functions | |
bxml_text (const vcl_string &data) | |
Constructor. | |
virtual | ~bxml_text () |
Destructor. | |
datatype | type () const |
Return the type of XML data. | |
vcl_string | data () const |
Access the text data. | |
void | set_data (const vcl_string &data) |
Set the text data. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Private Attributes | |
vcl_string | data_ |
text data within XML.
Definition at line 49 of file bxml_document.h.
enum bxml_data::datatype [inherited] |
Definition at line 33 of file bxml_document.h.
bxml_text::bxml_text | ( | const vcl_string & | data | ) | [inline] |
Constructor.
Definition at line 53 of file bxml_document.h.
virtual bxml_text::~bxml_text | ( | ) | [inline, virtual] |
Destructor.
Definition at line 56 of file bxml_document.h.
vcl_string bxml_text::data | ( | ) | const [inline] |
Access the text data.
Definition at line 62 of file bxml_document.h.
void bxml_text::set_data | ( | const vcl_string & | data | ) | [inline] |
Set the text data.
Definition at line 65 of file bxml_document.h.
datatype bxml_text::type | ( | ) | const [inline, virtual] |
vcl_string bxml_text::data_ [private] |
Definition at line 68 of file bxml_document.h.