cheshirekow
v0.1.0
|
implements red black trees from CLRS More...
#include <mpblocks/redblack/iterator.h>
Public Types | |
typedef Traits::NodeRef | NodeRef |
typedef Tree< Traits > | Tree_t |
Public Member Functions | |
Iterator (Tree_t *tree, NodeRef node) | |
bool | operator!= (const Iterator &other) |
comparison for range-based More... | |
auto | operator* () -> decltype(tree->key(node)) |
dereference to whatever key returns More... | |
Iterator< Traits > & | operator++ () |
increment operator More... | |
Iterator< Traits > & | operator-- () |
decrement operator More... | |
Public Attributes | |
NodeRef | node |
Tree_t * | tree |
implements red black trees from CLRS
Definition at line 38 of file iterator.h.
typedef Traits::NodeRef mpblocks::redblack::Iterator< Traits >::NodeRef |
Definition at line 39 of file iterator.h.
typedef Tree<Traits> mpblocks::redblack::Iterator< Traits >::Tree_t |
Definition at line 40 of file iterator.h.
|
inline |
Definition at line 48 of file iterator.h.
|
inline |
comparison for range-based
Definition at line 63 of file iterator.h.
|
inline |
dereference to whatever key returns
Definition at line 46 of file iterator.h.
|
inline |
increment operator
Definition at line 51 of file iterator.h.
|
inline |
decrement operator
Definition at line 57 of file iterator.h.
NodeRef mpblocks::redblack::Iterator< Traits >::node |
Definition at line 43 of file iterator.h.
Tree_t* mpblocks::redblack::Iterator< Traits >::tree |
Definition at line 42 of file iterator.h.