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()
virtual booloperator!=(const TIterator&) const
booloperator!=(const TTreeFriendLeafIter&) const
TObject*TIterator::operator()()
virtual TObject*operator*() const
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; }
TObject * operator*()
 TODO: Implement me

Author: Rene Brun 12/01/96
Last change: root/tree:$Id: TTree.h 24454 2008-06-21 03:13:04Z pcanal $
Last generated: 2008-06-25 08:54
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.