Public Member Functions | |
bool | equal (const iterator_base &other) const |
size_type | depth () const |
const_reference | dereference () const |
bool | operator== (const iterator_base &other) const |
bool | operator!= (const iterator_base &other) const |
Protected Member Functions | |
void | link_next () |
void | link_prev () |
node * | self () |
iterator_base () | |
iterator_base (value_holder *n) | |
Protected Attributes | |
value_holder * | cur_ |
Friends | |
class | tree |
|
Definition at line 211 of file tree.h.
00211 {} |
|
Definition at line 212 of file tree.h.
00212 : cur_( n ) {} |
|
Definition at line 219 of file tree.h. References gslib::sapling::tree< Value, Allocator >::node::depth(), gslib::sapling::tree< Value, Allocator >::get_node(), and gslib::sapling::tree< Value, Allocator >::size_type.
00219 { 00220 BOOST_ASSERT( 0 != cur_ ); 00221 return get_node( cur_ )->depth(); 00222 } |
Here is the call graph for this function:
|
Definition at line 224 of file tree.h. References gslib::sapling::tree< Value, Allocator >::value_holder::value.
00224 { 00225 return cur_->value; 00226 } |
|
Definition at line 215 of file tree.h. References gslib::sapling::tree< Value, Allocator >::iterator_base::cur_. Referenced by gslib::sapling::tree< Value, Allocator >::iterator_base::operator!=(), and gslib::sapling::tree< Value, Allocator >::iterator_base::operator==().
00215 { 00216 return cur_ == other.cur_; 00217 } |
|
Definition at line 201 of file tree.h. References gslib::sapling::tree< Value, Allocator >::link::next.
|
|
Definition at line 204 of file tree.h. References gslib::sapling::tree< Value, Allocator >::link::prev.
|
|
Definition at line 231 of file tree.h. References gslib::sapling::tree< Value, Allocator >::iterator_base::equal().
00231 { 00232 return !equal( other ); 00233 } |
Here is the call graph for this function:
|
Definition at line 228 of file tree.h. References gslib::sapling::tree< Value, Allocator >::iterator_base::equal().
00228 { 00229 return equal( other ); 00230 } |
Here is the call graph for this function:
|
|
Reimplemented in gslib::sapling::tree< Value, Allocator >::const_post_order_iterator, and gslib::sapling::tree< Value, Allocator >::const_pre_order_iterator. |
|
Definition at line 199 of file tree.h. Referenced by gslib::sapling::tree< Value, Allocator >::iterator_base::equal(), and gslib::sapling::tree< Value, Allocator >::erase(). |