Public Types | Public Member Functions | Private Attributes
bxml_text Class Reference

text data within XML. More...

#include <bxml_document.h>

Inheritance diagram for bxml_text:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

text data within XML.

Definition at line 49 of file bxml_document.h.


Member Enumeration Documentation

enum bxml_data::datatype [inherited]
Enumerator:
TEXT 
ELEMENT 

Definition at line 33 of file bxml_document.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Return the type of XML data.

Implements bxml_data.

Definition at line 59 of file bxml_document.h.


Member Data Documentation

vcl_string bxml_text::data_ [private]

Definition at line 68 of file bxml_document.h.


The documentation for this class was generated from the following file: