textwolf
0.2
|
input iterator for iterating on the output of an XML scanner More...
#include <xmlscanner.hpp>
Classes | |
class | Element |
Iterator element visited. More... | |
Public Types | |
typedef Element | value_type |
typedef std::size_t | difference_type |
typedef std::size_t | size_type |
typedef Element * | pointer |
typedef Element & | reference |
typedef std::input_iterator_tag | iterator_category |
Public Member Functions | |
void | assign (const iterator &orig) |
Assign an iterator to another. More... | |
iterator (const iterator &orig) | |
Copy constructor. More... | |
iterator (ThisXMLScanner &p_input, bool doSkipToFirst=true) | |
Constructor. More... | |
iterator (const End &et) | |
Constructor. More... | |
iterator () | |
Constructor. More... | |
iterator & | operator= (const iterator &orig) |
Assignement operator. More... | |
const Element & | operator* () const |
Element dereference operator. More... | |
const Element * | operator-> () const |
Element dereference operator. More... | |
iterator & | operator++ () |
Preincrement. More... | |
iterator | operator++ (int) |
Postincrement. More... | |
bool | operator== (const iterator &iter) const |
Compare to check for equality. More... | |
bool | operator!= (const iterator &iter) const |
Compare to check for unequality. More... | |
input iterator for iterating on the output of an XML scanner
typedef std::size_t textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::difference_type |
typedef std::input_iterator_tag textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::iterator_category |
typedef Element* textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::pointer |
typedef Element& textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::reference |
typedef std::size_t textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::size_type |
typedef Element textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::value_type |
|
inline |
Copy constructor.
[in] | orig | iterator to copy |
|
inline |
Constructor.
[in] | p_input | XML scanner to use for iteration |
[in] | doSkipToFirst | true, if the iterator should skip to the first character of the input (default behaviour of STL conform iterators but maybe not exception save) |
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Assign an iterator to another.
[in] | orig | iterator to copy |
|
inline |
Compare to check for unequality.
|
inline |
Element dereference operator.
|
inline |
Preincrement.
|
inline |
Postincrement.
|
inline |
Element dereference operator.
|
inline |
Assignement operator.
[in] | orig | iterator to assign to this |
|
inline |
Compare to check for equality.