fastjet 2.4.3
|
#include <SearchTree.hh>
Public Member Functions | |
const_circulator () | |
const_circulator (const Node *node) | |
const_circulator (const circulator &circ) | |
const T * | operator-> () |
const T & | operator* () const |
const_circulator & | operator++ () |
prefix increment (structure copied from stl_bvector.h) | |
const_circulator | operator++ (int) |
postfix increment ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h) | |
const_circulator & | operator-- () |
prefix decrement (structure copied from stl_bvector.h) | |
const_circulator | operator-- (int) |
postfix decrement ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h) | |
const_circulator | next () const |
return a circulator referring to the next node | |
const_circulator | previous () const |
return a circulator referring to the previous node | |
bool | operator!= (const const_circulator &other) const |
bool | operator== (const const_circulator &other) const |
Private Attributes | |
const Node * | _node |
Definition at line 230 of file SearchTree.hh.
SearchTree< T >::const_circulator::const_circulator | ( | ) | [inline] |
Definition at line 233 of file SearchTree.hh.
: _node(NULL) {}
SearchTree< T >::const_circulator::const_circulator | ( | const Node * | node | ) | [inline] |
Definition at line 235 of file SearchTree.hh.
: _node(node) {}
SearchTree< T >::const_circulator::const_circulator | ( | const circulator & | circ | ) | [inline] |
Definition at line 236 of file SearchTree.hh.
:_node(circ._node) {}
const_circulator SearchTree< T >::const_circulator::next | ( | ) | const [inline] |
return a circulator referring to the next node
Definition at line 267 of file SearchTree.hh.
{ return const_circulator(_node->successor);}
bool SearchTree< T >::const_circulator::operator!= | ( | const const_circulator & | other | ) | const [inline] |
Definition at line 276 of file SearchTree.hh.
References SearchTree< T >::const_circulator::_node.
{return other._node != _node;}
const T& SearchTree< T >::const_circulator::operator* | ( | ) | const [inline] |
Definition at line 239 of file SearchTree.hh.
{return _node->value;}
const_circulator SearchTree< T >::const_circulator::operator++ | ( | int | ) | [inline] |
postfix increment ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h)
Definition at line 248 of file SearchTree.hh.
{ const_circulator tmp = *this; _node = _node->successor; return tmp;}
const_circulator& SearchTree< T >::const_circulator::operator++ | ( | ) | [inline] |
prefix increment (structure copied from stl_bvector.h)
Definition at line 242 of file SearchTree.hh.
const_circulator& SearchTree< T >::const_circulator::operator-- | ( | ) | [inline] |
prefix decrement (structure copied from stl_bvector.h)
Definition at line 255 of file SearchTree.hh.
const_circulator SearchTree< T >::const_circulator::operator-- | ( | int | ) | [inline] |
postfix decrement ["int" argument tells compiler it's postfix] (structure copied from stl_bvector.h)
Definition at line 261 of file SearchTree.hh.
{ const_circulator tmp = *this; _node = _node->predecessor; return tmp;}
const T* SearchTree< T >::const_circulator::operator-> | ( | ) | [inline] |
Definition at line 238 of file SearchTree.hh.
{return &(_node->value);}
bool SearchTree< T >::const_circulator::operator== | ( | const const_circulator & | other | ) | const [inline] |
Definition at line 277 of file SearchTree.hh.
References SearchTree< T >::const_circulator::_node.
{return other._node == _node;}
const_circulator SearchTree< T >::const_circulator::previous | ( | ) | const [inline] |
return a circulator referring to the previous node
Definition at line 271 of file SearchTree.hh.
{ return const_circulator(_node->predecessor);}
const Node* SearchTree< T >::const_circulator::_node [private] |
Definition at line 280 of file SearchTree.hh.
Referenced by SearchTree< T >::const_circulator::operator!=(), and SearchTree< T >::const_circulator::operator==().