Logo ROOT   master
Reference Guide
ROOT::Internal::TArrayProxy< T > Class Template Reference

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

Definition at line 711 of file TBranchProxy.h.

Public Types

typedef T::array_t array_t
 
typedef T::type_t type_t
 

Public Member Functions

 TArrayProxy ()=default
 
 ~TArrayProxy () override=default
 
const array_tAt (UInt_t i)
 
voidGetAddressOfElement (UInt_t i) final
 Return the address of the element number i. More...
 
Int_t GetEntries () override
 
const array_toperator[] (Int_t i)
 
const array_toperator[] (UInt_t i)
 
void Print () override
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranch *branch, const char *membername)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name=0)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *branchname, TBranch *branch, const char *membername)
 Constructor taking the branch name, possibly of a friended tree. More...
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name, const char *membername)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranchProxy *parent, const char *membername, const char *top=0, const char *name=0)
 
 TBranchProxy ()
 
- Public Member Functions inherited from ROOT::Detail::TBranchProxy
 TBranchProxy ()
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name=0)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *top, const char *name, const char *membername)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranchProxy *parent, const char *membername, const char *top=0, const char *name=0)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranch *branch, const char *membername)
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, const char *branchname, TBranch *branch, const char *membername)
 Constructor taking the branch name, possibly of a friended tree. More...
 
virtual ~TBranchProxy ()
 
virtual Int_t GetArrayLength ()
 
const char * GetBranchName () const
 
TClassGetClass ()
 
voidGetClaStart (UInt_t i=0)
 
TVirtualCollectionProxyGetCollection ()
 
Int_t GetOffset ()
 
TBranchProxyGetProxy ()
 
virtual voidGetStart (UInt_t=0)
 
voidGetStlStart (UInt_t i=0)
 
voidGetWhere () const
 
Bool_t IsaPointer () const
 
Bool_t IsInitialized ()
 
Bool_t Notify ()
 
Bool_t Read ()
 
Bool_t ReadEntries ()
 
void Reset ()
 
Bool_t Setup ()
 

Additional Inherited Members

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

#include <TBranchProxy.h>

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

Member Typedef Documentation

◆ array_t

template<class T >
typedef T::array_t ROOT::Internal::TArrayProxy< T >::array_t

Definition at line 717 of file TBranchProxy.h.

◆ type_t

template<class T >
typedef T::type_t ROOT::Internal::TArrayProxy< T >::type_t

Definition at line 718 of file TBranchProxy.h.

Constructor & Destructor Documentation

◆ TArrayProxy()

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

◆ ~TArrayProxy()

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

Member Function Documentation

◆ At()

template<class T >
const array_t& ROOT::Internal::TArrayProxy< T >::At ( UInt_t  i)
inline

Definition at line 737 of file TBranchProxy.h.

◆ GetAddressOfElement()

template<class T >
void* ROOT::Internal::TArrayProxy< T >::GetAddressOfElement ( UInt_t  )
inlinefinalvirtual

Return the address of the element number i.

Returns nullptr for non-collections. It assumed that Setip() has been called.

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 730 of file TBranchProxy.h.

◆ GetEntries()

template<class T >
Int_t ROOT::Internal::TArrayProxy< T >::GetEntries ( )
inlineoverridevirtual

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 726 of file TBranchProxy.h.

◆ operator[]() [1/2]

template<class T >
const array_t& ROOT::Internal::TArrayProxy< T >::operator[] ( Int_t  i)
inline

Definition at line 745 of file TBranchProxy.h.

◆ operator[]() [2/2]

template<class T >
const array_t& ROOT::Internal::TArrayProxy< T >::operator[] ( UInt_t  i)
inline

Definition at line 746 of file TBranchProxy.h.

◆ Print()

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

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 720 of file TBranchProxy.h.

◆ TBranchProxy() [1/6]

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

Definition at line 27 of file TBranchProxy.cxx.

◆ TBranchProxy() [2/6]

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

Definition at line 95 of file TBranchProxy.cxx.

◆ TBranchProxy() [3/6]

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

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

Used by TTreeReaderValue in place of TFriendProxy.

Definition at line 130 of file TBranchProxy.cxx.

◆ TBranchProxy() [4/6]

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

Definition at line 75 of file TBranchProxy.cxx.

◆ TBranchProxy() [5/6]

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

Definition at line 56 of file TBranchProxy.cxx.

◆ TBranchProxy() [6/6]

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

Definition at line 38 of file TBranchProxy.cxx.


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