bxml_text Class Reference

#include <bxml_document.h>

Inheritance diagram for bxml_text:

bxml_data vbl_ref_count List of all members.

Detailed Description

text data within XML.

Definition at line 48 of file 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_

Member Enumeration Documentation

enum bxml_data::datatype [inherited]

Enumerator:
TEXT 
ELEMENT 

Definition at line 32 of file bxml_document.h.


Constructor & Destructor Documentation

bxml_text::bxml_text ( const vcl_string &  data  )  [inline]

Constructor.

Definition at line 52 of file bxml_document.h.

virtual bxml_text::~bxml_text (  )  [inline, virtual]

Destructor.

Definition at line 55 of file bxml_document.h.


Member Function Documentation

datatype bxml_text::type (  )  const [inline, virtual]

Return the type of XML data.

Implements bxml_data.

Definition at line 58 of file bxml_document.h.

vcl_string bxml_text::data (  )  const [inline]

Access the text data.

Definition at line 61 of file bxml_document.h.

void bxml_text::set_data ( const vcl_string &  data  )  [inline]

Set the text data.

Definition at line 64 of file bxml_document.h.


Member Data Documentation

vcl_string bxml_text::data_ [private]

Definition at line 67 of file bxml_document.h.


The documentation for this class was generated from the following file:
Generated on Wed Dec 3 05:20:25 2008 for contrib/brl/bbas/bxml by  doxygen 1.5.1