AbstractMatcher::Operation functor to match input to a pattern, also provides a (const) AbstractMatcher::iterator to iterate over matches. More...
#include <absmatcher.h>
Public Member Functions | |
Operation (AbstractMatcher *matcher, Method method) | |
Construct an AbstractMatcher::Operation functor to scan, search, or split an input character sequence. More... | |
void | init (AbstractMatcher *matcher, Method method) |
size_t | operator() () const |
AbstractMatcher::Operation() matches input to a pattern using method Const::SCAN, Const::FIND, or Const::SPLIT. More... | |
iterator | begin () const |
AbstractMatcher::Operation.begin() returns a std::input_iterator to the start of the matches. More... | |
iterator | end () const |
AbstractMatcher::Operation.end() returns a std::input_iterator to the end of matches. More... | |
const_iterator | cbegin () const |
AbstractMatcher::Operation.cbegin() returns a const std::input_iterator to the start of the matches. More... | |
const_iterator | cend () const |
AbstractMatcher::Operation.cend() returns a const std::input_iterator to the end of matches. 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... | |
AbstractMatcher::Operation functor to match input to a pattern, also provides a (const) AbstractMatcher::iterator to iterate over matches.
|
inline |
Construct an AbstractMatcher::Operation 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::Operation.begin() returns a std::input_iterator to the start of the matches.
|
inline |
AbstractMatcher::Operation.cbegin() returns a const std::input_iterator to the start of the matches.
|
inline |
AbstractMatcher::Operation.cend() returns a const std::input_iterator to the end of matches.
|
inline |
AbstractMatcher::Operation.end() returns a std::input_iterator to the end of matches.
|
inline |
matcher | use this matcher for this functor |
method | match using method Const::SCAN, Const::FIND, or Const::SPLIT |
|
inline |
AbstractMatcher::Operation() matches input to a pattern using method Const::SCAN, Const::FIND, or Const::SPLIT.
|
private |
the matcher used by this functor
|
private |
the method for pattern matching by this functor's matcher