wibble::Splitter::const_iterator Class Reference

#include <regexp.h>

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

List of all members.


Detailed Description

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

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

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

Splitter::const_iterator & wibble::Splitter::const_iterator::operator++ (  ) 

const std::string& wibble::Splitter::const_iterator::operator* (  )  const [inline]

const std::string* wibble::Splitter::const_iterator::operator-> (  )  const [inline]

bool wibble::Splitter::const_iterator::operator== ( const const_iterator ti  )  const [inline]

References cur, and next.

bool wibble::Splitter::const_iterator::operator!= ( const const_iterator ti  )  const [inline]

References cur, and next.


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

Generated on Sun Nov 16 04:16:27 2008 for wibble by  doxygen 1.5.6