#include <SearchTree.hh>
Collaboration diagram for fastjet::SearchTree< T >::circulator:

Public Member Functions | |
| circulator () | |
| circulator (Node *node) | |
| const T * | operator-> () const |
| T * | operator-> () |
| const T & | operator * () const |
| T & | operator * () |
| circulator & | operator++ () |
| prefix increment (structure copied from stl_bvector.h) | |
| circulator | operator++ (int) |
| postfix increment ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h) | |
| circulator & | operator-- () |
| prefix decrement (structure copied from stl_bvector.h) | |
| circulator | operator-- (int) |
| postfix decrement ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h) | |
| circulator | next () const |
| return a circulator referring to the next node | |
| circulator | previous () const |
| return a circulator referring to the previous node | |
| bool | operator!= (const circulator &other) const |
| bool | operator== (const circulator &other) const |
Private Attributes | |
| Node * | _node |
Friends | |
| class | SearchTree< T > |
|
|||||||||
|
Definition at line 180 of file SearchTree.hh.
00180 : _node(NULL) {} |
|
||||||||||
|
Definition at line 182 of file SearchTree.hh.
00182 : _node(node) {} |
|
|||||||||
|
return a circulator referring to the next node
Definition at line 214 of file SearchTree.hh.
00214 {
00215 return circulator(_node->successor);}
|
|
|||||||||
|
Definition at line 187 of file SearchTree.hh.
00187 {return _node->value;}
|
|
|||||||||
|
Definition at line 186 of file SearchTree.hh.
00186 {return _node->value;}
|
|
||||||||||
|
Definition at line 221 of file SearchTree.hh. References fastjet::SearchTree< T >::circulator::_node.
00221 {return other._node != _node;}
|
|
||||||||||
|
postfix increment ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h)
Definition at line 196 of file SearchTree.hh.
00196 {
00197 circulator tmp = *this;
00198 _node = _node->successor;
00199 return tmp;}
|
|
|||||||||
|
prefix increment (structure copied from stl_bvector.h)
Definition at line 190 of file SearchTree.hh.
|
|
||||||||||
|
postfix decrement ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h)
Definition at line 208 of file SearchTree.hh.
00208 {
00209 circulator tmp = *this;
00210 _node = _node->predecessor;
00211 return tmp;}
|
|
|||||||||
|
prefix decrement (structure copied from stl_bvector.h)
Definition at line 202 of file SearchTree.hh.
|
|
|||||||||
|
Definition at line 185 of file SearchTree.hh.
00185 {return &(_node->value);}
|
|
|||||||||
|
Definition at line 184 of file SearchTree.hh.
00184 {return &(_node->value);}
|
|
||||||||||
|
Definition at line 222 of file SearchTree.hh. References fastjet::SearchTree< T >::circulator::_node.
00222 {return other._node == _node;}
|
|
|||||||||
|
return a circulator referring to the previous node
Definition at line 218 of file SearchTree.hh.
00218 {
00219 return circulator(_node->predecessor);}
|
|
|||||
|
Definition at line 178 of file SearchTree.hh. |
|
|||||
|
Definition at line 225 of file SearchTree.hh. Referenced by fastjet::SearchTree< T >::circulator::operator!=(), fastjet::SearchTree< T >::circulator::operator==(), and fastjet::SearchTree< T >::remove(). |
1.3.4