geomc 1.0
A c++ linear algebra template library
|
A forward iterator over this type of Subtree, which visits all the nodes which pass the supplied TestFn
.
More...
#include <geomc/Tree.h>
Public Member Functions | |
QueryIterator (const I &start, const Key &key, BoundingFn bound, TestFn test) | |
Construct a new QueryIterator. | |
bool | operator== (const I &other) const |
Return true if this iterator points to the subtree at other . | |
bool | operator!= (const I &other) const |
Return true if this iterator does not point to the subtree at other . | |
QueryIterator & | operator= (const I &other) |
Find the next result at or beyond the Subtree other . | |
Friends | |
class | boost::iterator_core_access |
A forward iterator over this type of Subtree, which visits all the nodes which pass the supplied TestFn
.
QueryIterator extends iterator_facade
and is a forward iterator; as such it supports standard forward iterator semantics and operators like ++i
, i->xxx
, and *i
.
I | The type of Subtree to visit. |
BoundingFn | A callable object which accepts an I and returns true if that Subtree may contain items which pass TestFn . |
TestFn | A callable object which accepts an I and returns true if that Subtree should be visited by this QueryIterator . |