AbstractMatcher::Match functor to match input to a pattern, also provides a (const) AbstractMatcher::iterator to iterate over matches. More...
#include <absmatcher.h>
Public Member Functions | |
const AbstractMatcher & | operator() (void) const |
iterator | begin (void) const |
iterator | end (void) const |
const_iterator | cbegin (void) const |
const_iterator | cend (void) const |
Private Member Functions | |
Match (AbstractMatcher *matcher, Method method) | |
Construct an AbstractMatcher::Match functor to scan, search, or split an input character sequence. More... | |
Private Attributes | |
AbstractMatcher * | matcher_ |
the matcher used by this functor More... | |
Method | method_ |
the method for pattern matching by this functor's matcher More... | |
Friends | |
class | AbstractMatcher |
AbstractMatcher::Match functor to match input to a pattern, also provides a (const) AbstractMatcher::iterator to iterate over matches.
|
inlineprivate |
Construct an AbstractMatcher::Match functor to scan, search, or split an input character sequence.
matcher | use this matcher for this functor |
method | match using method Const::scan, Const::find, or Const::split |
|
inline |
AbstractMatcher::Match.begin() returns a std::input_iterator to the start of the matches.
|
inline |
AbstractMatcher::Match.cbegin() returns a const std::input_iterator to the start of the matches.
|
inline |
AbstractMatcher::Match.cend() returns a const std::input_iterator to the end of matches.
|
inline |
AbstractMatcher::Match.end() returns a std::input_iterator to the end of matches.
|
inline |
AbstractMatcher::Match() matches input to a pattern using method Const::scan, Const::find, or Const::split.
|
friend |
|
private |
the matcher used by this functor
|
private |
the method for pattern matching by this functor's matcher