Read an XML stream one element at a time. More...
#include <bxml_read.h>
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 | |
pimpl * | p_ |
Read an XML stream one element at a time.
Definition at line 28 of file bxml_read.h.
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.
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.
pimpl* bxml_stream_read::p_ [private] |
Definition at line 45 of file bxml_read.h.