Base class for all the proxy object.
It includes the implementation of the autoloading of branches as well as all the generic setup routine.
Definition at line 74 of file TBranchProxy.h.
Public Member Functions | |
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 |
TClass * | GetClass () |
void * | GetClaStart (UInt_t i=0) |
TVirtualCollectionProxy * | GetCollection () |
virtual Int_t | GetEntries () |
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 () |
virtual void | Print () |
Display the content of the object. | |
bool | Read () |
bool | ReadEntries () |
void | Reset () |
Completely reset the object. | |
bool | Setup () |
Initialize/cache the necessary information. | |
Protected Attributes | ||
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 | |
Friends | |
class | ROOT::Internal::TTreeReaderValueBase |
#include <TBranchProxy.h>
|
strongprivate |
Definition at line 189 of file TBranchProxy.h.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | ) |
Constructor.
Definition at line 58 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
const char * | top, | ||
const char * | name = nullptr |
||
) |
Constructor.
Definition at line 71 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
const char * | top, | ||
const char * | name, | ||
const char * | membername | ||
) |
Constructor.
Definition at line 90 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 110 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
TBranch * | branch, | ||
const char * | membername | ||
) |
Constructor.
Definition at line 131 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 168 of file TBranchProxy.cxx.
|
virtual |
Typical Destructor.
Definition at line 201 of file TBranchProxy.cxx.
|
inlinevirtual |
Return the address of the element number i.
Returns nullptr
for non-collections. It assumed that Setip() has been called.
Reimplemented in ROOT::Internal::TArrayCharProxy, ROOT::Internal::TClaProxy, ROOT::Internal::TStlProxy, and ROOT::Internal::TArrayProxy< T >.
Definition at line 439 of file TBranchProxy.h.
|
inlinevirtual |
Definition at line 418 of file TBranchProxy.h.
|
inline |
Definition at line 124 of file TBranchProxy.h.
|
inline |
Definition at line 422 of file TBranchProxy.h.
|
inline |
Definition at line 461 of file TBranchProxy.h.
|
inline |
Definition at line 443 of file TBranchProxy.h.
|
inlinevirtual |
Reimplemented in ROOT::Internal::TClaProxy, ROOT::Internal::TStlProxy, and ROOT::Internal::TArrayProxy< T >.
Definition at line 407 of file TBranchProxy.h.
|
inline |
Definition at line 551 of file TBranchProxy.h.
|
inline |
Definition at line 123 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 203 of file TBranchProxy.h.
|
inlinevirtual |
Definition at line 446 of file TBranchProxy.h.
|
inline |
Definition at line 507 of file TBranchProxy.h.
|
inline |
Definition at line 553 of file TBranchProxy.h.
|
inline |
Definition at line 435 of file TBranchProxy.h.
|
inline |
Definition at line 140 of file TBranchProxy.h.
|
inline |
Definition at line 135 of file TBranchProxy.h.
|
inline |
Definition at line 128 of file TBranchProxy.h.
|
virtual |
Display the content of the object.
Reimplemented in ROOT::Internal::TArrayCharProxy, ROOT::Internal::TClaProxy, ROOT::Internal::TStlProxy, ROOT::Internal::TImpProxy< T >, and ROOT::Internal::TArrayProxy< T >.
Definition at line 231 of file TBranchProxy.cxx.
|
inline |
Definition at line 144 of file TBranchProxy.h.
|
inline |
Definition at line 379 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 235 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 343 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 325 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 361 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 293 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 276 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 310 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 250 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 263 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 239 of file TBranchProxy.h.
void ROOT::Detail::TBranchProxy::Reset | ( | ) |
Completely reset the object.
Definition at line 210 of file TBranchProxy.cxx.
bool ROOT::Detail::TBranchProxy::Setup | ( | ) |
Initialize/cache the necessary information.
Definition at line 246 of file TBranchProxy.cxx.
|
friend |
Definition at line 187 of file TBranchProxy.h.
union { ... } ROOT::Detail::TBranchProxy |
|
protected |
Definition at line 96 of file TBranchProxy.h.
|
protected |
Definition at line 98 of file TBranchProxy.h.
TBranchElement* ROOT::Detail::TBranchProxy::fBranchCount |
Definition at line 100 of file TBranchProxy.h.
|
protected |
Definition at line 85 of file TBranchProxy.h.
|
protected |
Definition at line 92 of file TBranchProxy.h.
|
protected |
Definition at line 91 of file TBranchProxy.h.
|
protected |
Definition at line 109 of file TBranchProxy.h.
|
protected |
Definition at line 88 of file TBranchProxy.h.
|
protected |
Definition at line 76 of file TBranchProxy.h.
|
protected |
Definition at line 93 of file TBranchProxy.h.
|
protected |
Definition at line 82 of file TBranchProxy.h.
|
protected |
Definition at line 78 of file TBranchProxy.h.
|
protected |
Definition at line 81 of file TBranchProxy.h.
|
protected |
Definition at line 80 of file TBranchProxy.h.
|
protected |
Definition at line 79 of file TBranchProxy.h.
TLeaf* ROOT::Detail::TBranchProxy::fLeafCount |
Definition at line 101 of file TBranchProxy.h.
|
protected |
Definition at line 94 of file TBranchProxy.h.
|
protected |
Definition at line 104 of file TBranchProxy.h.
|
protected |
Definition at line 95 of file TBranchProxy.h.
|
protected |
Definition at line 86 of file TBranchProxy.h.
|
protected |
Definition at line 106 of file TBranchProxy.h.
|
protected |
Definition at line 83 of file TBranchProxy.h.
|
protected |
Definition at line 108 of file TBranchProxy.h.