ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TTreeFriendLeafIter Class Reference

Iterator on all the leaves in a TTree and its friend.

Definition at line 572 of file TTree.h.

Public Member Functions

 TTreeFriendLeafIter (const TTree *t, Bool_t dir=kIterForward)
 
 TTreeFriendLeafIter (const TTreeFriendLeafIter &iter)
 Copy constructor. Does NOT copy the 'cursor' location! More...
 
 ~TTreeFriendLeafIter ()
 
TIteratoroperator= (const TIterator &rhs)
 Overridden assignment operator. Does NOT copy the 'cursor' location! More...
 
TTreeFriendLeafIteroperator= (const TTreeFriendLeafIter &rhs)
 Overridden assignment operator. Does NOT copy the 'cursor' location! More...
 
const TCollectionGetCollection () const
 
Option_tGetOption () const
 Returns the object option stored in the list. More...
 
TObjectNext ()
 Go the next friend element. More...
 
void Reset ()
 
Bool_t operator!= (const TIterator &) const
 
Bool_t operator!= (const TTreeFriendLeafIter &) const
 
TObjectoperator* () const
 Return current object or nullptr. More...
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

Protected Member Functions

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

Protected Attributes

TTreefTree
 
TIteratorfLeafIter
 
TIteratorfTreeIter
 
Bool_t fDirection
 

#include <TTree.h>

+ Inheritance diagram for TTreeFriendLeafIter:
+ Collaboration diagram for TTreeFriendLeafIter:

Constructor & Destructor Documentation

TTreeFriendLeafIter::TTreeFriendLeafIter ( )
inlineprotected

Definition at line 580 of file TTree.h.

TTreeFriendLeafIter::TTreeFriendLeafIter ( const TTree t,
Bool_t  dir = kIterForward 
)
TTreeFriendLeafIter::TTreeFriendLeafIter ( const TTreeFriendLeafIter iter)

Copy constructor. Does NOT copy the 'cursor' location!

Definition at line 8838 of file TTree.cxx.

TTreeFriendLeafIter::~TTreeFriendLeafIter ( )
inline

Definition at line 586 of file TTree.h.

Member Function Documentation

const TCollection* TTreeFriendLeafIter::GetCollection ( ) const
inlinevirtual

Implements TIterator.

Definition at line 590 of file TTree.h.

Option_t * TTreeFriendLeafIter::GetOption ( ) const
virtual

Returns the object option stored in the list.

Reimplemented from TIterator.

Definition at line 8912 of file TTree.cxx.

TObject * TTreeFriendLeafIter::Next ( )
virtual

Go the next friend element.

Implements TIterator.

Definition at line 8873 of file TTree.cxx.

Bool_t TTreeFriendLeafIter::operator!= ( const TIterator ) const
inlinevirtual

Reimplemented from TIterator.

Definition at line 594 of file TTree.h.

Definition at line 598 of file TTree.h.

TObject* TTreeFriendLeafIter::operator* ( ) const
inlinevirtual

Return current object or nullptr.

For backward compatibility reasons we have to provide this default implementation.

Reimplemented from TIterator.

Definition at line 602 of file TTree.h.

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

Overridden assignment operator. Does NOT copy the 'cursor' location!

Reimplemented from TIterator.

Definition at line 8850 of file TTree.cxx.

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

Overridden assignment operator. Does NOT copy the 'cursor' location!

Definition at line 8862 of file TTree.cxx.

void TTreeFriendLeafIter::Reset ( void  )
inlinevirtual

Implements TIterator.

Definition at line 593 of file TTree.h.

Member Data Documentation

Bool_t TTreeFriendLeafIter::fDirection
protected

Definition at line 578 of file TTree.h.

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

TIterator* TTreeFriendLeafIter::fLeafIter
protected

Definition at line 576 of file TTree.h.

Referenced by GetOption(), and Next().

TTree* TTreeFriendLeafIter::fTree
protected

Definition at line 575 of file TTree.h.

Referenced by Next().

TIterator* TTreeFriendLeafIter::fTreeIter
protected

Definition at line 577 of file TTree.h.

Referenced by Next().


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