wibble 1.1
Public Types | Public Member Functions | List of all members
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>

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

◆ difference_type

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

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

◆ const_iterator() [2/2]

wibble::Splitter::const_iterator::const_iterator ( wibble::Regexp re)
inline

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++()

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

◆ operator->()

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

◆ operator==()

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

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