Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::TImpProxy< T > Class Template Reference

template<class T>
class ROOT::Internal::TImpProxy< T >

Template of the proxy around objects.

Definition at line 707 of file TBranchProxy.h.

Public Member Functions

 TImpProxy ()=default
 
 TImpProxy (T)=delete
 
 ~TImpProxy () override=default
 
 operator T ()
 
TImpProxyoperator= (T)=delete
 
void Print () override
 Display the content of the object.
 
 TBranchProxy ()
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *branchname, TBranch *branch, const char *membername, bool suppressMissingBranchError=false)
 Constructor taking the branch name, possibly of a friended tree.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name, const char *membername)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name=nullptr)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranch *branch, const char *membername)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranchProxy *parent, const char *membername, const char *top=nullptr, const char *name=nullptr)
 Constructor.
 
- Public Member Functions inherited from ROOT::Detail::TBranchProxy
 TBranchProxy ()
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *branchname, TBranch *branch, const char *membername, bool suppressMissingBranchError=false)
 Constructor taking the branch name, possibly of a friended tree.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name, const char *membername)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name=nullptr)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranch *branch, const char *membername)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranchProxy *parent, const char *membername, const char *top=nullptr, const char *name=nullptr)
 Constructor.
 
virtual ~TBranchProxy ()
 Typical Destructor.
 
virtual void * GetAddressOfElement (UInt_t)
 Return the address of the element number i.
 
virtual Int_t GetArrayLength ()
 
const char * GetBranchName () const
 
TClassGetClass ()
 
void * GetClaStart (UInt_t i=0)
 
TVirtualCollectionProxyGetCollection ()
 
virtual Int_t GetEntries ()
 
Int_t GetOffset ()
 
TBranchProxyGetProxy ()
 
virtual void * GetStart (UInt_t=0)
 
void * GetStlStart (UInt_t i=0)
 
bool GetSuppressErrorsForMissingBranch () const
 
void * GetWhere () const
 
bool IsaPointer () const
 
bool IsInitialized ()
 
bool Notify ()
 
bool Read ()
 
bool ReadEntries ()
 
void Reset ()
 Completely reset the object.
 
bool Setup ()
 Initialize/cache the necessary information.
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Detail::TBranchProxy
union { 
 
   TBranchElement *   fBranchCount 
 
   TLeaf *   fLeafCount 
 
};  
 
Int_t fArrayLength
 
TBranchfBranch
 
const TString fBranchName
 
TClassfClass
 
TString fClassName
 
TVirtualCollectionProxyfCollection
 
const TString fDataMember
 
Internal::TBranchProxyDirectorfDirector
 
TStreamerElementfElement
 
bool fHasLeafCount: 1
 
bool fInitialized: 1
 
bool fIsaPointer: 1
 
bool fIsClone: 1
 
const bool fIsMember: 1
 
Int_t fMemberOffset
 
TNotifyLink< TBranchProxyfNotify
 
Int_t fOffset
 
TBranchProxyfParent
 
Long64_t fRead
 
bool fSuppressMissingBranchError {false}
 
void * fWhere
 

#include <TBranchProxy.h>

Inheritance diagram for ROOT::Internal::TImpProxy< T >:
[legend]

Constructor & Destructor Documentation

◆ TImpProxy() [1/2]

template<class T >
ROOT::Internal::TImpProxy< T >::TImpProxy ( )
default

◆ ~TImpProxy()

template<class T >
ROOT::Internal::TImpProxy< T >::~TImpProxy ( )
overridedefault

◆ TImpProxy() [2/2]

template<class T >
ROOT::Internal::TImpProxy< T >::TImpProxy ( )
delete

Member Function Documentation

◆ operator T()

template<class T >
ROOT::Internal::TImpProxy< T >::operator T ( )
inline

Definition at line 719 of file TBranchProxy.h.

◆ operator=()

template<class T >
TImpProxy & ROOT::Internal::TImpProxy< T >::operator= ( )
delete

◆ Print()

template<class T >
void ROOT::Internal::TImpProxy< T >::Print ( )
inlineoverridevirtual

Display the content of the object.

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 709 of file TBranchProxy.h.

◆ TBranchProxy() [1/6]

template<class T >
ROOT::Detail::TBranchProxy::TBranchProxy ( )

Constructor.

Definition at line 114 of file TBranchProxy.cxx.

◆ TBranchProxy() [2/6]

template<class T >
ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector boss,
const char *  branchname,
TBranch branch,
const char *  membername,
bool  suppressMissingBranchError = false 
)

Constructor taking the branch name, possibly of a friended tree.

Used by TTreeReaderValue in place of TFriendProxy.

Definition at line 119 of file TBranchProxy.cxx.

◆ TBranchProxy() [3/6]

template<class T >
ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector boss,
const char *  top,
const char *  name,
const char *  membername 
)

Constructor.

Definition at line 116 of file TBranchProxy.cxx.

◆ TBranchProxy() [4/6]

template<class T >
ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector boss,
const char *  top,
const char *  name = nullptr 
)

Constructor.

Definition at line 115 of file TBranchProxy.cxx.

◆ TBranchProxy() [5/6]

template<class T >
ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector boss,
TBranch branch,
const char *  membername 
)

Constructor.

Definition at line 118 of file TBranchProxy.cxx.

◆ TBranchProxy() [6/6]

template<class T >
ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector boss,
Detail::TBranchProxy parent,
const char *  membername,
const char *  top = nullptr,
const char *  name = nullptr 
)

Constructor.

Definition at line 117 of file TBranchProxy.cxx.

  • tree/treeplayer/inc/TBranchProxy.h