Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFriendProxy.h
Go to the documentation of this file.
1// @(#)root/treeplayer:$Id$
2// Author: Philippe Canal 01/06/2004
3
4/*************************************************************************
5 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TFriendProxy
13#define ROOT_TFriendProxy
14
16
17class TTree;
18
19namespace ROOT {
20namespace Internal {
21
23 protected:
24 TBranchProxyDirector fDirector; ///< Contain pointer to TTree and entry to be read
25 Int_t fIndex; ///< Index of this tree in the list of friends
26 bool fHasIndex{false}; ///< Whether this friend has a TTreeIndex attached
27
28 public:
31
33
34 Long64_t GetReadEntry() const;
35 void ResetReadEntry();
36 void Update(TTree *newmain);
37 bool HasIndex() const { return fHasIndex; }
38 };
39
40} // namespace Internal
41} // namespace ROOT
42
43#endif
int main()
Definition Prototype.cxx:12
int Int_t
Definition RtypesCore.h:45
long long Long64_t
Definition RtypesCore.h:69
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Int_t fIndex
Index of this tree in the list of friends.
TBranchProxyDirector fDirector
Contain pointer to TTree and entry to be read.
Long64_t GetReadEntry() const
Return the entry number currently being looked at.
TBranchProxyDirector * GetDirector()
void ResetReadEntry()
Refresh the cached read entry number from the original tree.
bool fHasIndex
Whether this friend has a TTreeIndex attached.
A TTree represents a columnar dataset.
Definition TTree.h:79
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...