![]() |
Home | Libraries | People | FAQ | More |
boost::algorithm::find_iterator — find_iterator
// In header: <boost/algorithm/string/find_iterator.hpp> template<typename IteratorT> class find_iterator : public { public: // construct/copy/destruct (); (find_iterator &); template<typename FinderT> (, , ); template<typename FinderT, typename RangeT> (, ); // public member functions () ; // private member functions () ; (); (find_iterator &) ; };
Find iterator encapsulates a Finder and allows for incremental searching in a string. Each increment moves the iterator to the next match.
Find iterator is a readable forward traversal iterator.
Dereferencing the iterator yields an iterator_range delimiting the current match.
find_iterator
public
construct/copy/destruct();Default constructor.
Construct null iterator. All null iterators are equal.
Postconditions: |
eof()==true |
(find_iterator & Other);Copy constructor.
Construct a copy of the find_iterator
template<typename FinderT> ( Begin, End, Finder);Constructor.
Construct new find_iterator
for a given finder and a range.
template<typename FinderT, typename RangeT> ( Col, Finder);Constructor.
Construct new find_iterator
for a given finder and a range.
find_iterator
public member functions() ;Eof check.
Check the eof condition. Eof condition means that there is nothing more to be searched i.e. find_iterator
is after the last match.