File indexing completed on 2025-09-17 09:15:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TFriendProxy
0013 #define ROOT_TFriendProxy
0014
0015 #include "TBranchProxyDirector.h"
0016
0017 class TTree;
0018
0019 namespace ROOT {
0020 namespace Internal {
0021
0022 class TFriendProxy {
0023 protected:
0024 TBranchProxyDirector fDirector;
0025 Int_t fIndex;
0026 bool fHasIndex{false};
0027
0028 public:
0029 TFriendProxy();
0030 TFriendProxy(TBranchProxyDirector *director, TTree *main, Int_t index);
0031
0032 TBranchProxyDirector *GetDirector() { return &fDirector; }
0033
0034 Long64_t GetReadEntry() const;
0035 void ResetReadEntry();
0036 void Update(TTree *newmain);
0037 bool HasIndex() const { return fHasIndex; }
0038 };
0039
0040 }
0041 }
0042
0043 #endif