Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::TFriendProxy Class Reference

Definition at line 22 of file TFriendProxy.h.

Public Member Functions

 TFriendProxy ()
 
 TFriendProxy (TBranchProxyDirector *director, TTree *main, Int_t index)
 Constructor.
 
TBranchProxyDirectorGetDirector ()
 
Long64_t GetReadEntry () const
 Return the entry number currently being looked at.
 
void ResetReadEntry ()
 Refresh the cached read entry number from the original tree.
 
void Update (TTree *newmain)
 Update the address of the underlying tree.
 

Protected Attributes

TBranchProxyDirector fDirector
 Contain pointer to TTree and entry to be read.
 
Int_t fIndex
 Index of this tree in the list of friends.
 

#include <TFriendProxy.h>

Constructor & Destructor Documentation

◆ TFriendProxy() [1/2]

TFriendProxy::TFriendProxy ( )

Definition at line 28 of file TFriendProxy.cxx.

◆ TFriendProxy() [2/2]

TFriendProxy::TFriendProxy ( TBranchProxyDirector director,
TTree main,
Int_t  index 
)

Constructor.

Definition at line 35 of file TFriendProxy.cxx.

Member Function Documentation

◆ GetDirector()

TBranchProxyDirector * ROOT::Internal::TFriendProxy::GetDirector ( )
inline

Definition at line 31 of file TFriendProxy.h.

◆ GetReadEntry()

Long64_t TFriendProxy::GetReadEntry ( ) const

Return the entry number currently being looked at.

Definition at line 53 of file TFriendProxy.cxx.

◆ ResetReadEntry()

void TFriendProxy::ResetReadEntry ( )

Refresh the cached read entry number from the original tree.

Definition at line 61 of file TFriendProxy.cxx.

◆ Update()

void TFriendProxy::Update ( TTree newmain)

Update the address of the underlying tree.

Definition at line 71 of file TFriendProxy.cxx.

Member Data Documentation

◆ fDirector

TBranchProxyDirector ROOT::Internal::TFriendProxy::fDirector
protected

Contain pointer to TTree and entry to be read.

Definition at line 24 of file TFriendProxy.h.

◆ fIndex

Int_t ROOT::Internal::TFriendProxy::fIndex
protected

Index of this tree in the list of friends.

Definition at line 25 of file TFriendProxy.h.

Libraries for ROOT::Internal::TFriendProxy:

The documentation for this class was generated from the following files: