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.
 
bool HasIndex () const
 
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.
 
bool fHasIndex {false}
 Whether this friend has a TTreeIndex attached.
 
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 29 of file TFriendProxy.cxx.

◆ TFriendProxy() [2/2]

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

Constructor.

Definition at line 36 of file TFriendProxy.cxx.

Member Function Documentation

◆ GetDirector()

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

Definition at line 32 of file TFriendProxy.h.

◆ GetReadEntry()

Long64_t TFriendProxy::GetReadEntry ( ) const

Return the entry number currently being looked at.

Definition at line 87 of file TFriendProxy.cxx.

◆ HasIndex()

bool ROOT::Internal::TFriendProxy::HasIndex ( ) const
inline

Definition at line 37 of file TFriendProxy.h.

◆ ResetReadEntry()

void TFriendProxy::ResetReadEntry ( )

Refresh the cached read entry number from the original tree.

Definition at line 95 of file TFriendProxy.cxx.

◆ Update()

void TFriendProxy::Update ( TTree newmain)

Update the address of the underlying tree.

Definition at line 105 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.

◆ fHasIndex

bool ROOT::Internal::TFriendProxy::fHasIndex {false}
protected

Whether this friend has a TTreeIndex attached.

Definition at line 26 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: