Classes | Public Member Functions | Private Attributes
bxml_stream_read Class Reference

Read an XML stream one element at a time. More...

#include <bxml_read.h>

List of all members.

Classes

class  pimpl

Public Member Functions

 bxml_stream_read (int max_depth=-1)
 Constructor.
 ~bxml_stream_read ()
 Destructor.
void reset ()
 Reset the state of the reader.
bxml_data_sptr next_element (vcl_istream &is, unsigned int &depth)
 Read the next element.

Private Attributes

pimplp_

Detailed Description

Read an XML stream one element at a time.

Definition at line 28 of file bxml_read.h.


Constructor & Destructor Documentation

bxml_stream_read::bxml_stream_read ( int  max_depth = -1) [explicit]

Constructor.

only elements with depth <= max_depth are returned

Definition at line 166 of file bxml_read.cxx.

bxml_stream_read::~bxml_stream_read ( )

Destructor.

Definition at line 172 of file bxml_read.cxx.


Member Function Documentation

bxml_data_sptr bxml_stream_read::next_element ( vcl_istream &  is,
unsigned int &  depth 
)

Read the next element.

Definition at line 191 of file bxml_read.cxx.

void bxml_stream_read::reset ( )

Reset the state of the reader.

Definition at line 179 of file bxml_read.cxx.


Member Data Documentation

Definition at line 45 of file bxml_read.h.


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