#include <find_iterator.hpp>
Public Member Functions | |
split_iterator () | |
Default constructor. More... | |
split_iterator (const split_iterator &Other) | |
Copy constructor. More... | |
template<typename FinderT > | |
split_iterator (IteratorT Begin, IteratorT End, FinderT Finder) | |
Constructor. More... | |
template<typename FinderT , typename RangeT > | |
split_iterator (RangeT &Col, FinderT Finder) | |
Constructor. More... | |
bool | eof () const |
Eof check. More... | |
Friends | |
class | ::boost::iterator_core_access |
Split iterator encapsulates a Finder and allows for incremental searching in a string. Unlike the find iterator, split iterator iterates through gaps between matches.
Find iterator is a readable forward traversal iterator.
Dereferencing the iterator yields an iterator_range delimiting the current match.
|
inline |
Default constructor.
Construct null iterator. All null iterators are equal.
|
inline |
Copy constructor.
Construct a copy of the split_iterator
|
inline |
Constructor.
Construct new split_iterator for a given finder and a range.
|
inline |
Constructor.
Construct new split_iterator for a given finder and a collection.
References boost::as_literal(), boost::asio::begin, boost::asio::end, and boost::make_iterator_range().
|
inline |
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.
References boost::is_null().
|
friend |