|
HDK
|
#include <TreeIterator.h>
Public Member Functions | |
| IteratorRange (const IterT &iter, size_t grainSize=8) | |
| Constructor from iterator and grain size. More... | |
| IteratorRange (IteratorRange &other, tbb::split) | |
| Split constructor used by tbb (should rarely be called directly) More... | |
| const IterT & | iterator () const |
| Return a reference to this range's iterator. More... | |
| bool | empty () const |
| bool | test () const |
| operator bool () const | |
| bool | is_divisible () const |
Return true if this range is splittable (i.e., if the iterator can be advanced more than mGrainSize times). More... | |
| void | increment (size_t n=1) |
| Advance the iterator n times. More... | |
| IteratorRange & | operator++ () |
| Advance the iterator to the next item. More... | |
| bool | next () |
| Advance the iterator to the next item. More... | |
An IteratorRange wraps a tree or node iterator, giving the iterator TBB splittable range semantics.
Definition at line 1303 of file TreeIterator.h.
|
inline |
Constructor from iterator and grain size.
| iter | Iterator from which the range is constructed |
| grainSize | Grain size which controls the granularity of range splitting |
Definition at line 1309 of file TreeIterator.h.
|
inline |
Split constructor used by tbb (should rarely be called directly)
| other | IteratorRange to be split |
| tbb::split | Dummy class used to create a unique signature for this constructor |
Definition at line 1320 of file TreeIterator.h.
|
inline |
Definition at line 1333 of file TreeIterator.h.
|
inline |
Advance the iterator n times.
Definition at line 1342 of file TreeIterator.h.
|
inline |
Return true if this range is splittable (i.e., if the iterator can be advanced more than mGrainSize times).
Definition at line 1339 of file TreeIterator.h.
|
inline |
Return a reference to this range's iterator.
Definition at line 1331 of file TreeIterator.h.
|
inline |
Advance the iterator to the next item.
true if the iterator is not yet exhausted. Definition at line 1347 of file TreeIterator.h.
|
inline |
Definition at line 1335 of file TreeIterator.h.
|
inline |
Advance the iterator to the next item.
Definition at line 1344 of file TreeIterator.h.
|
inline |
Definition at line 1334 of file TreeIterator.h.