ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TBtreeIter Class Reference

Iterator of btree.

Definition at line 338 of file TBtree.h.

Public Member Functions

 TBtreeIter (const TBtree *t, Bool_t dir=kIterForward)
 
 TBtreeIter (const TBtreeIter &iter)
 Copy ctor. More...
 
 ~TBtreeIter ()
 
TIteratoroperator= (const TIterator &rhs)
 Overridden assignment operator. More...
 
TBtreeIteroperator= (const TBtreeIter &rhs)
 Overloaded assignment operator. More...
 
const TCollectionGetCollection () const
 
TObjectNext ()
 Get next object from B-tree. Returns 0 when no more objects in tree. More...
 
void Reset ()
 Reset the B-tree iterator. 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...
 
TObjectoperator* () const
 Return current object or nullptr. More...
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

Private Member Functions

 TBtreeIter ()
 

Private Attributes

const TBtreefTree
 
Int_t fCurCursor
 
Int_t fCursor
 
Bool_t fDirection
 

Additional Inherited Members

- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 

#include <TBtree.h>

Inheritance diagram for TBtreeIter:
[legend]

Constructor & Destructor Documentation

TBtreeIter::TBtreeIter ( )
inlineprivate

Definition at line 349 of file TBtree.h.

TBtreeIter::TBtreeIter ( const TBtree t,
Bool_t  dir = kIterForward 
)
TBtreeIter::TBtreeIter ( const TBtreeIter iter)

Copy ctor.

Definition at line 585 of file TBtree.cxx.

TBtreeIter::~TBtreeIter ( )
inline

Definition at line 354 of file TBtree.h.

Member Function Documentation

const TCollection* TBtreeIter::GetCollection ( ) const
inlinevirtual

Implements TIterator.

Definition at line 358 of file TBtree.h.

TObject * TBtreeIter::Next ( )
virtual

Get next object from B-tree. Returns 0 when no more objects in tree.

Implements TIterator.

Definition at line 638 of file TBtree.cxx.

Bool_t TBtreeIter::operator!= ( const TIterator aIter) const
virtual

This operator compares two TIterator objects.

Reimplemented from TIterator.

Definition at line 654 of file TBtree.cxx.

Bool_t TBtreeIter::operator!= ( const TBtreeIter aIter) const

This operator compares two TBtreeIter objects.

Definition at line 666 of file TBtree.cxx.

TObject * TBtreeIter::operator* ( ) const
virtual

Return current object or nullptr.

Reimplemented from TIterator.

Definition at line 674 of file TBtree.cxx.

TIterator & TBtreeIter::operator= ( const TIterator rhs)
virtual

Overridden assignment operator.

Reimplemented from TIterator.

Definition at line 596 of file TBtree.cxx.

TBtreeIter & TBtreeIter::operator= ( const TBtreeIter rhs)

Overloaded assignment operator.

Definition at line 611 of file TBtree.cxx.

void TBtreeIter::Reset ( void  )
virtual

Reset the B-tree iterator.

Implements TIterator.

Definition at line 625 of file TBtree.cxx.

Member Data Documentation

Int_t TBtreeIter::fCurCursor
private

Definition at line 345 of file TBtree.h.

Referenced by Next(), operator!=(), operator*(), operator=(), Reset(), and TBtreeIter().

Int_t TBtreeIter::fCursor
private

Definition at line 346 of file TBtree.h.

Referenced by Next(), operator=(), Reset(), and TBtreeIter().

Bool_t TBtreeIter::fDirection
private

Definition at line 347 of file TBtree.h.

Referenced by Next(), operator=(), Reset(), and TBtreeIter().

const TBtree* TBtreeIter::fTree
private

Definition at line 344 of file TBtree.h.

Referenced by GetCollection(), Next(), operator*(), operator=(), Reset(), and TBtreeIter().

Collaboration diagram for TBtreeIter:
[legend]

The documentation for this class was generated from the following files: