AbstractMatcher::Iterator class for scanning, searching, and splitting input character sequences. More...
#include <absmatcher.h>
Public Types | |
typedef reflex::TypeOp< T >::NonConstType | NonConstT |
Non-const AbstractMatcher type. More... | |
typedef reflex::TypeOp< T >::ConstType | ConstT |
Const AbstractMatcher type. More... | |
typedef std::input_iterator_tag | iterator_category |
Iterator iterator_category trait. More... | |
typedef T | value_type |
Iterator value_type trait. More... | |
typedef std::ptrdiff_t | difference_type |
Iterator difference_type trait. More... | |
typedef T * | pointer |
Iterator pointer trait. More... | |
typedef T & | reference |
Iterator reference trait. More... | |
Public Member Functions | |
Iterator () | |
Construct an AbstractMatcher::Iterator such that Iterator() == AbstractMatcher::Operation(*this, method).end(). More... | |
Iterator (const Iterator< NonConstT > &it) | |
Copy constructor. More... | |
T & | operator* () const |
AbstractMatcher::Iterator dereference. More... | |
T * | operator-> () const |
AbstractMatcher::Iterator pointer. More... | |
bool | operator== (const Iterator< ConstT > &rhs) const |
AbstractMatcher::Iterator equality. More... | |
bool | operator!= (const Iterator< ConstT > &rhs) const |
AbstractMatcher::Iterator inequality. More... | |
Iterator & | operator++ () |
AbstractMatcher::Iterator preincrement. More... | |
Iterator | operator++ (int) |
AbstractMatcher::Iterator postincrement. More... | |
Iterator (NonConstT *matcher, Method method) | |
Construct an AbstractMatcher::Iterator to scan, search, or split an input character sequence. More... | |
Private Attributes | |
NonConstT * | matcher_ |
the matcher used by this iterator More... | |
Method | method_ |
the method for pattern matching by this iterator's matcher More... | |
Friends | |
class | AbstractMatcher |
class | Iterator< typename reflex::TypeOp< T >::ConstType > |
class | Iterator< typename reflex::TypeOp< T >::NonConstType > |
AbstractMatcher::Iterator class for scanning, searching, and splitting input character sequences.
<T> | AbstractMatcher or const AbstractMatcher |
typedef reflex::TypeOp<T>::ConstType reflex::AbstractMatcher::Iterator< T >::ConstT |
Const AbstractMatcher type.
typedef std::ptrdiff_t reflex::AbstractMatcher::Iterator< T >::difference_type |
Iterator difference_type trait.
typedef std::input_iterator_tag reflex::AbstractMatcher::Iterator< T >::iterator_category |
Iterator iterator_category trait.
typedef reflex::TypeOp<T>::NonConstType reflex::AbstractMatcher::Iterator< T >::NonConstT |
Non-const AbstractMatcher type.
typedef T* reflex::AbstractMatcher::Iterator< T >::pointer |
Iterator pointer trait.
typedef T& reflex::AbstractMatcher::Iterator< T >::reference |
Iterator reference trait.
typedef T reflex::AbstractMatcher::Iterator< T >::value_type |
Iterator value_type trait.
|
inline |
Construct an AbstractMatcher::Iterator such that Iterator() == AbstractMatcher::Operation(*this, method).end().
|
inline |
Copy constructor.
|
inline |
Construct an AbstractMatcher::Iterator to scan, search, or split an input character sequence.
matcher | iterate over pattern matches with this matcher |
method | match using method Const::SCAN, Const::FIND, or Const::SPLIT |
|
inline |
AbstractMatcher::Iterator inequality.
|
inline |
AbstractMatcher::Iterator dereference.
|
inline |
AbstractMatcher::Iterator preincrement.
|
inline |
AbstractMatcher::Iterator postincrement.
|
inline |
AbstractMatcher::Iterator pointer.
|
inline |
AbstractMatcher::Iterator equality.
|
friend |
|
friend |
|
friend |
|
private |
the matcher used by this iterator
|
private |
the method for pattern matching by this iterator's matcher