Public Types | |
using | const_pointer = const TObject ** |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::bidirectional_iterator_tag |
using | pointer = TObject ** |
using | reference = const TObject *& |
using | value_type = TObject * |
Public Member Functions | |
TBtreeIter (const TBtree *t, Bool_t dir=kIterForward) | |
Create a B-tree iterator. | |
TBtreeIter (const TBtreeIter &iter) | |
Copy ctor. | |
~TBtreeIter () | |
const TCollection * | GetCollection () const override |
TClass * | IsA () const override |
TObject * | Next () override |
Get next object from B-tree. Returns 0 when no more objects in tree. | |
Bool_t | operator!= (const TBtreeIter &aIter) const |
This operator compares two TBtreeIter objects. | |
Bool_t | operator!= (const TIterator &aIter) const override |
This operator compares two TIterator objects. | |
TObject * | operator* () const override |
Return current object or nullptr. | |
TBtreeIter & | operator= (const TBtreeIter &rhs) |
Overloaded assignment operator. | |
TIterator & | operator= (const TIterator &rhs) override |
Overridden assignment operator. | |
void | Reset () override |
Reset the B-tree iterator. | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TIterator | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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>
using TBtreeIter::const_pointer = const TObject ** |
using TBtreeIter::difference_type = std::ptrdiff_t |
using TBtreeIter::iterator_category = std::bidirectional_iterator_tag |
using TBtreeIter::pointer = TObject ** |
using TBtreeIter::reference = const TObject *& |
using TBtreeIter::value_type = TObject * |
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.
|
static |
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Get next object from B-tree. Returns 0 when no more objects in tree.
Implements TIterator.
Definition at line 639 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.
This operator compares two TIterator objects.
Reimplemented from TIterator.
Definition at line 655 of file TBtree.cxx.
|
overridevirtual |
Return current object or nullptr.
Reimplemented from TIterator.
Definition at line 675 of file TBtree.cxx.
TBtreeIter & TBtreeIter::operator= | ( | const TBtreeIter & | rhs | ) |
Overloaded assignment operator.
Definition at line 612 of file TBtree.cxx.
|
overridevirtual |
|
inline |