wibble::Splitter::const_iterator Class Reference

Warning: the various iterators reuse the Regexps and therefore only one iteration of a Splitter can be done at a given time. More...

#include <regexp.h>

Collaboration diagram for wibble::Splitter::const_iterator:
[legend]

List of all members.

Public Types

typedef std::string value_type
typedef ptrdiff_t difference_type
typedef value_typepointer
typedef value_typereference
typedef std::forward_iterator_tag iterator_category

Public Member Functions

 const_iterator (wibble::Regexp &re, const std::string &str)
 const_iterator (wibble::Regexp &re)
const_iteratoroperator++ ()
const std::string & operator* () const
const std::string * operator-> () const
bool operator== (const const_iterator &ti) const
bool operator!= (const const_iterator &ti) const

Detailed Description

Warning: the various iterators reuse the Regexps and therefore only one iteration of a Splitter can be done at a given time.


Member Typedef Documentation

typedef std::forward_iterator_tag wibble::Splitter::const_iterator::iterator_category

Constructor & Destructor Documentation

wibble::Splitter::const_iterator::const_iterator ( wibble::Regexp re,
const std::string &  str 
) [inline]
wibble::Splitter::const_iterator::const_iterator ( wibble::Regexp re  )  [inline]

Member Function Documentation

bool wibble::Splitter::const_iterator::operator!= ( const const_iterator ti  )  const [inline]
const std::string& wibble::Splitter::const_iterator::operator* (  )  const [inline]
Splitter::const_iterator & wibble::Splitter::const_iterator::operator++ (  ) 
const std::string* wibble::Splitter::const_iterator::operator-> (  )  const [inline]
bool wibble::Splitter::const_iterator::operator== ( const const_iterator ti  )  const [inline]

The documentation for this class was generated from the following files:
Generated on Wed May 12 10:46:57 2010 for wibble by  doxygen 1.6.3