ROOT 6.10/09 Reference Guide |
Public Member Functions | |
TBtreeIter (const TBtree *t, Bool_t dir=kIterForward) | |
Create a B-tree iterator. More... | |
TBtreeIter (const TBtreeIter &iter) | |
Copy ctor. More... | |
~TBtreeIter () | |
const TCollection * | GetCollection () const |
TObject * | Next () |
Get next object from B-tree. Returns 0 when no more objects in tree. More... | |
Bool_t | operator!= (const TIterator &aIter) const |
This operator compares two TIterator objects. More... | |
Bool_t | operator!= (const TBtreeIter &aIter) const |
This operator compares two TBtreeIter objects. More... | |
TObject * | operator* () const |
Return current object or nullptr. More... | |
TIterator & | operator= (const TIterator &rhs) |
Overridden assignment operator. More... | |
TBtreeIter & | operator= (const TBtreeIter &rhs) |
Overloaded assignment operator. More... | |
void | Reset () |
Reset the B-tree iterator. More... | |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
Private Member Functions | |
TBtreeIter () | |
Private Attributes | |
Int_t | fCurCursor |
Int_t | fCursor |
Bool_t | fDirection |
const TBtree * | fTree |
Additional Inherited Members | |
Protected Member Functions inherited from TIterator | |
TIterator () | |
TIterator (const TIterator &) | |
#include <TBtree.h>
TBtreeIter::TBtreeIter | ( | const TBtree * | t, |
Bool_t | dir = kIterForward |
||
) |
Create a B-tree iterator.
Definition at line 577 of file TBtree.cxx.
TBtreeIter::TBtreeIter | ( | const TBtreeIter & | iter | ) |
Copy ctor.
Definition at line 586 of file TBtree.cxx.
|
inlinevirtual |
|
virtual |
Get next object from B-tree. Returns 0 when no more objects in tree.
Implements TIterator.
Definition at line 639 of file TBtree.cxx.
|
virtual |
This operator compares two TIterator objects.
Reimplemented from TIterator.
Definition at line 655 of file TBtree.cxx.
Bool_t TBtreeIter::operator!= | ( | const TBtreeIter & | aIter | ) | const |
This operator compares two TBtreeIter objects.
Definition at line 667 of file TBtree.cxx.
|
virtual |
Return current object or nullptr.
Reimplemented from TIterator.
Definition at line 675 of file TBtree.cxx.
Overridden assignment operator.
Reimplemented from TIterator.
Definition at line 597 of file TBtree.cxx.
TBtreeIter & TBtreeIter::operator= | ( | const TBtreeIter & | rhs | ) |
Overloaded assignment operator.
Definition at line 612 of file TBtree.cxx.