class TTreeFriendLeafIter: public TIterator


TTreeFriendLeafIter

Iterator on all the leaves in a TTree and its friend


Function Members (Methods)

public:
TTreeFriendLeafIter(const TTreeFriendLeafIter& iter)
TTreeFriendLeafIter(const TTree* t, Bool_t dir = kIterForward)
virtual~TTreeFriendLeafIter()
static TClass*Class()
virtual const TCollection*GetCollection() const
virtual Option_t*GetOption() const
virtual TClass*IsA() const
virtual TObject*Next()
TObject*TIterator::operator()()
virtual TIterator&operator=(const TIterator& rhs)
TTreeFriendLeafIter&operator=(const TTreeFriendLeafIter& rhs)
virtual voidReset()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
TTreeFriendLeafIter()

Data Members

protected:
Bool_tfDirectioniteration direction
TIterator*fLeafItercurrent leaf sub-iterator.
TTree*fTreetree being iterated
TIterator*fTreeItercurrent tree sub-iterator.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TTreeFriendLeafIter(const TTree* t, Bool_t dir = kIterForward)
 Create a new iterator. By default the iteration direction
 is kIterForward. To go backward use kIterBackward.
TTreeFriendLeafIter(const TTreeFriendLeafIter& iter)
 Copy constructor
TIterator& operator=(const TIterator& rhs)
 Overridden assignment operator.
TTreeFriendLeafIter& operator=(const TTreeFriendLeafIter& rhs)
 Overridden assignment operator.
TObject* Next()
 Go the next friend element
Option_t* GetOption()
 Returns the object option stored in the list.
void Reset(Option_t* option = "")
TTreeFriendLeafIter(const TTreeFriendLeafIter& iter)
{ }
~TTreeFriendLeafIter()
{ SafeDelete(fLeafIter); SafeDelete(fTreeIter); }
const TCollection * GetCollection()
{ return 0; }

Author: Rene Brun 12/01/96
Last update: root/tree:$Id: TTree.h 20882 2007-11-19 11:31:26Z rdm $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.