TFriendProxy.h

Go to the documentation of this file.
00001 // @(#)root/treeplayer:$Id: TFriendProxy.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Philippe Canal 01/06/2004
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al.        *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TFriendProxy
00013 #define ROOT_TFriendProxy
00014 
00015 #ifndef ROOT_TBranchProxyDirector
00016 #include "TBranchProxyDirector.h"
00017 #endif
00018 
00019 class TTree;
00020 
00021 namespace ROOT {
00022 
00023    class TFriendProxy {
00024    protected:
00025       TBranchProxyDirector fDirector; // contain pointer to TTree and entry to be read
00026       Int_t  fIndex; // Index of this tree in the list of friends
00027 
00028    public:
00029       TFriendProxy();
00030       TFriendProxy(TBranchProxyDirector *director, TTree *main, Int_t index);
00031 
00032       Long64_t GetReadEntry() const;
00033       void     ResetReadEntry();
00034       void     Update(TTree *newmain);
00035    };
00036 
00037 }
00038 
00039 #endif

Generated on Tue Jul 5 14:26:55 2011 for ROOT_528-00b_version by  doxygen 1.5.1