bxml_document Class Reference

#include <bxml_document.h>

Inheritance diagram for bxml_document:

vbl_ref_count bsvg_document bsvg_plot List of all members.

Detailed Description

Represents a full XML document stored as a tree.

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

Constructor & Destructor Documentation

bxml_document::bxml_document (  ) 

Constructor - default.

Definition at line 25 of file bxml_document.cxx.

bxml_document::~bxml_document (  )  [inline]

Destructor.

Definition at line 177 of file bxml_document.h.


Member Function Documentation

bxml_data_sptr bxml_document::root_element (  )  const [inline]

Return the root element.

Definition at line 180 of file bxml_document.h.

vcl_string bxml_document::version (  )  const [inline]

Return the version string.

Definition at line 183 of file bxml_document.h.

vcl_string bxml_document::encoding (  )  const [inline]

Return the encoding string.

Definition at line 186 of file bxml_document.h.

bool bxml_document::standalone (  )  const [inline]

Return the standalone bit.

Definition at line 189 of file bxml_document.h.

void bxml_document::set_root_element ( const bxml_data_sptr root  )  [inline]

set the root element.

Definition at line 192 of file bxml_document.h.

void bxml_document::set_version ( const vcl_string &  version  )  [inline]

Set the version string.

Definition at line 196 of file bxml_document.h.

void bxml_document::set_encoding ( const vcl_string &  encoding  )  [inline]

Set the encoding string.

Definition at line 199 of file bxml_document.h.

void bxml_document::set_standalone ( bool  standalone  )  [inline]

Set the standalone bit.

Definition at line 202 of file bxml_document.h.


Member Data Documentation

bxml_data_sptr bxml_document::root_element_ [private]

The root element.

Definition at line 206 of file bxml_document.h.

vcl_string bxml_document::version_ [private]

Definition at line 208 of file bxml_document.h.

vcl_string bxml_document::encoding_ [private]

Definition at line 209 of file bxml_document.h.

bool bxml_document::standalone_ [private]

Definition at line 210 of file bxml_document.h.


The documentation for this class was generated from the following files:
Generated on Mon Mar 8 05:30:08 2010 for contrib/brl/bbas/bxml by  doxygen 1.5.1