Template for concrete implementation of proxy around array of T.
Definition at line 756 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_t & | At (UInt_t i) |
void * | GetAddressOfElement (UInt_t i) final |
Return the address of the element number i. | |
Int_t | GetEntries () override |
const array_t & | operator[] (Int_t i) |
const array_t & | operator[] (UInt_t i) |
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 |
TClass * | GetClass () |
void * | GetClaStart (UInt_t i=0) |
TVirtualCollectionProxy * | GetCollection () |
Int_t | GetOffset () |
TBranchProxy * | GetProxy () |
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 | |
TBranch * | fBranch | |
const TString | fBranchName | |
TClass * | fClass | |
TString | fClassName | |
TVirtualCollectionProxy * | fCollection | |
const TString | fDataMember | |
Internal::TBranchProxyDirector * | fDirector | |
TStreamerElement * | fElement | |
bool | fHasLeafCount: 1 | |
bool | fInitialized: 1 | |
bool | fIsaPointer: 1 | |
bool | fIsClone: 1 | |
const bool | fIsMember: 1 | |
Int_t | fMemberOffset | |
TNotifyLink< TBranchProxy > | fNotify | |
Int_t | fOffset | |
TBranchProxy * | fParent | |
Long64_t | fRead | |
bool | fSuppressMissingBranchError {false} | |
void * | fWhere | |
#include <TBranchProxy.h>
typedef T::array_t ROOT::Internal::TArrayProxy< T >::array_t |
Definition at line 762 of file TBranchProxy.h.
typedef T::type_t ROOT::Internal::TArrayProxy< T >::type_t |
Definition at line 763 of file TBranchProxy.h.
|
default |
|
overridedefault |
|
inline |
Definition at line 782 of file TBranchProxy.h.
|
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 775 of file TBranchProxy.h.
|
inlineoverridevirtual |
Reimplemented from ROOT::Detail::TBranchProxy.
Definition at line 771 of file TBranchProxy.h.
|
inline |
Definition at line 790 of file TBranchProxy.h.
|
inline |
Definition at line 791 of file TBranchProxy.h.
|
inlineoverridevirtual |
Display the content of the object.
Reimplemented from ROOT::Detail::TBranchProxy.
Definition at line 765 of file TBranchProxy.h.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | ) |
Constructor.
Definition at line 114 of file TBranchProxy.cxx.
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.
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.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
const char * | top, | ||
const char * | name = nullptr |
||
) |
Constructor.
Definition at line 115 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
TBranch * | branch, | ||
const char * | membername | ||
) |
Constructor.
Definition at line 118 of file TBranchProxy.cxx.
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.