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

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

Template of the Concrete Implementation of the branch proxy around an stl container of array of T.

Definition at line 886 of file TBranchProxy.h.

Public Types

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

Public Member Functions

 TStlArrayProxy ()=default
 
 ~TStlArrayProxy () override=default
 
array_tAt (UInt_t i)
 
array_toperator[] (Int_t i)
 
array_toperator[] (UInt_t i)
 
 TStlProxy ()=default
 
- Public Member Functions inherited from ROOT::Internal::TStlProxy
 TStlProxy ()=default
 
 ~TStlProxy () override=default
 
void * GetAddressOfElement (UInt_t i) final
 Return the address of the element number i.
 
Int_t GetEntries () override
 
TVirtualCollectionProxyGetPtr ()
 
const TVirtualCollectionProxyoperator-> ()
 
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 Int_t GetArrayLength ()
 
const char * GetBranchName () const
 
TClassGetClass ()
 
void * GetClaStart (UInt_t i=0)
 
TVirtualCollectionProxyGetCollection ()
 
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::TStlArrayProxy< T >:
[legend]

Member Typedef Documentation

◆ array_t

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

Definition at line 888 of file TBranchProxy.h.

◆ type_t

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

Definition at line 889 of file TBranchProxy.h.

Constructor & Destructor Documentation

◆ TStlArrayProxy()

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

◆ ~TStlArrayProxy()

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

Member Function Documentation

◆ At()

template<class T >
array_t * ROOT::Internal::TStlArrayProxy< T >::At ( UInt_t  i)
inline

Definition at line 899 of file TBranchProxy.h.

◆ operator[]() [1/2]

template<class T >
array_t * ROOT::Internal::TStlArrayProxy< T >::operator[] ( Int_t  i)
inline

Definition at line 906 of file TBranchProxy.h.

◆ operator[]() [2/2]

template<class T >
array_t * ROOT::Internal::TStlArrayProxy< T >::operator[] ( UInt_t  i)
inline

Definition at line 907 of file TBranchProxy.h.

◆ TStlProxy()

template<class T >
ROOT::Internal::TStlProxy::TStlProxy ( )
default
  • tree/treeplayer/inc/TBranchProxy.h