ROOT
remotes/pull/22321/merge
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
15
#include "
TBranchProxyDirector.h
"
16
17
class
TTree
;
18
19
namespace
ROOT
{
20
namespace
Internal
{
21
22
class
TFriendProxy
{
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
:
29
TFriendProxy
();
30
TFriendProxy
(
TBranchProxyDirector
*director,
TTree
*
main
,
Int_t
index
);
31
32
TBranchProxyDirector
*
GetDirector
() {
return
&
fDirector
; }
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_t
int Int_t
Signed integer 4 bytes (int)
Definition
RtypesCore.h:59
Long64_t
long long Long64_t
Portable signed long integer 8 bytes.
Definition
RtypesCore.h:83
TBranchProxyDirector.h
index
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
Definition
TGWin32VirtualXProxy.cxx:168
main
int main(int argc, char *argv[])
Definition
cef_main.cxx:54
ROOT::Internal::TBranchProxyDirector
Definition
TBranchProxyDirector.h:35
ROOT::Internal::TFriendProxy::fIndex
Int_t fIndex
Index of this tree in the list of friends.
Definition
TFriendProxy.h:25
ROOT::Internal::TFriendProxy::fDirector
TBranchProxyDirector fDirector
Contain pointer to TTree and entry to be read.
Definition
TFriendProxy.h:24
ROOT::Internal::TFriendProxy::GetReadEntry
Long64_t GetReadEntry() const
Return the entry number currently being looked at.
Definition
TFriendProxy.cxx:86
ROOT::Internal::TFriendProxy::HasIndex
bool HasIndex() const
Definition
TFriendProxy.h:37
ROOT::Internal::TFriendProxy::GetDirector
TBranchProxyDirector * GetDirector()
Definition
TFriendProxy.h:32
ROOT::Internal::TFriendProxy::TFriendProxy
TFriendProxy()
Definition
TFriendProxy.cxx:28
ROOT::Internal::TFriendProxy::ResetReadEntry
void ResetReadEntry()
Refresh the cached read entry number from the original tree.
Definition
TFriendProxy.cxx:94
ROOT::Internal::TFriendProxy::Update
void Update(TTree *newmain)
Update the address of the underlying tree.
Definition
TFriendProxy.cxx:104
ROOT::Internal::TFriendProxy::fHasIndex
bool fHasIndex
Whether this friend has a TTreeIndex attached.
Definition
TFriendProxy.h:26
TTree
A TTree represents a columnar dataset.
Definition
TTree.h:89
ROOT::Internal
Definition
RCryptoRandom.hxx:16
ROOT
Definition
EExecutionPolicy.hxx:4
tree
treeplayer
inc
TFriendProxy.h
ROOTremotes/pull/22321/merge - Reference Guide Generated on Thu Jun 25 2026 10:46:09 (GVA Time) using Doxygen 1.13.2