textwolf  0.2
Public Types | Public Member Functions | List of all members
textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator Class Reference

input iterator for the output of this XMLScanner More...

#include <xmlpathselect.hpp>

Public Types

typedef int value_type
 
typedef std::size_t difference_type
 
typedef int * pointer
 
typedef int & reference
 
typedef std::input_iterator_tag iterator_category
 

Public Member Functions

void assign (const iterator &orig)
 Assign iterator. More...
 
 iterator (const iterator &orig)
 Copy constructor. More...
 
 iterator (ThisXMLPathSelect &p_input, XMLScannerBase::ElementType p_type, const char *p_key, int p_keysize)
 Constructor by values. More...
 
 ~iterator ()
 
 iterator ()
 Default constructor. More...
 
iteratoroperator= (const iterator &orig)
 Assignement. More...
 
int operator* () const
 Element acceess. More...
 
const int * operator-> () const
 Element acceess. More...
 
iteratoroperator++ ()
 Preincrement. More...
 
iterator operator++ (int)
 Postincrement. More...
 
bool operator== (const iterator &iter) const
 Compare elements for equality. More...
 
bool operator!= (const iterator &iter) const
 Compare elements for inequality. More...
 

Detailed Description

template<class CharSet_, template< typename > class StackType_ = DefaultStackType>
class textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator

input iterator for the output of this XMLScanner

Member Typedef Documentation

template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
typedef std::size_t textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::difference_type
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
typedef std::input_iterator_tag textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::iterator_category
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
typedef int* textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::pointer
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
typedef int& textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::reference
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
typedef int textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::value_type

Constructor & Destructor Documentation

template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::iterator ( const iterator orig)
inline

Copy constructor.

Parameters
[in]origiterator to copy
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::iterator ( ThisXMLPathSelect p_input,
XMLScannerBase::ElementType  p_type,
const char *  p_key,
int  p_keysize 
)
inline

Constructor by values.

Parameters
[in]p_inputXML path selection stream to iterate through
[in]p_typeXML element type to feed to XML path matcher
[in]p_keyXML element value reference to feed to XML path matcher
[in]p_keysizeXML element value size in bytes to feed to XML path matcher
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::~iterator ( )
inline
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::iterator ( )
inline

Default constructor.

Member Function Documentation

template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
void textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::assign ( const iterator orig)
inline

Assign iterator.

Parameters
[in]origiterator to copy
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
bool textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator!= ( const iterator iter) const
inline

Compare elements for inequality.

Returns
true, if they are not equal
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
int textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator* ( ) const
inline

Element acceess.

Returns
read only element reference
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
iterator& textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator++ ( )
inline

Preincrement.

Returns
*this
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
iterator textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator++ ( int  )
inline

Postincrement.

Returns
*this
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
const int* textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator-> ( ) const
inline

Element acceess.

Returns
read only element reference
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
iterator& textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator= ( const iterator orig)
inline

Assignement.

Parameters
[in]origiterator to copy
Returns
*this
template<class CharSet_ , template< typename > class StackType_ = DefaultStackType>
bool textwolf::XMLPathSelect< CharSet_, StackType_ >::iterator::operator== ( const iterator iter) const
inline

Compare elements for equality.

Returns
true, if they are equal

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