bxml_document Class Reference

#include <bxml_document.h>

List of all members.


Detailed Description

Represents a full XML document stored as a tree.

Definition at line 160 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.

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 167 of file bxml_document.h.


Member Function Documentation

bxml_data_sptr bxml_document::root_element (  )  const [inline]

Return the root element.

Definition at line 170 of file bxml_document.h.

vcl_string bxml_document::version (  )  const [inline]

Return the version string.

Definition at line 173 of file bxml_document.h.

vcl_string bxml_document::encoding (  )  const [inline]

Return the encoding string.

Definition at line 176 of file bxml_document.h.

bool bxml_document::standalone (  )  const [inline]

Return the standalone bit.

Definition at line 179 of file bxml_document.h.

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

set the root element.

Definition at line 182 of file bxml_document.h.

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

Set the version string.

Definition at line 186 of file bxml_document.h.

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

Set the encoding string.

Definition at line 189 of file bxml_document.h.

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

Set the standalone bit.

Definition at line 192 of file bxml_document.h.


Member Data Documentation

bxml_data_sptr bxml_document::root_element_ [private]

The root element.

Definition at line 196 of file bxml_document.h.

vcl_string bxml_document::version_ [private]

Definition at line 198 of file bxml_document.h.

vcl_string bxml_document::encoding_ [private]

Definition at line 199 of file bxml_document.h.

bool bxml_document::standalone_ [private]

Definition at line 200 of file bxml_document.h.


The documentation for this class was generated from the following files:
Generated on Sun Oct 12 05:20:27 2008 for contrib/brl/bbas/bxml by  doxygen 1.5.1