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) | |
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) |
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 | |
void * | fWhere | |
Friends | |
class | ROOT::Internal::TTreeReaderValueBase |
#include <TBranchProxy.h>
|
strongprivate |
Definition at line 183 of file TBranchProxy.h.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | ) |
Constructor.
Definition at line 31 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
const char * | top, | ||
const char * | name = nullptr |
||
) |
Constructor.
Definition at line 44 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
const char * | top, | ||
const char * | name, | ||
const char * | membername | ||
) |
Constructor.
Definition at line 63 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 83 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
TBranch * | branch, | ||
const char * | membername | ||
) |
Constructor.
Definition at line 104 of file TBranchProxy.cxx.
ROOT::Detail::TBranchProxy::TBranchProxy | ( | Internal::TBranchProxyDirector * | boss, |
const char * | branchname, | ||
TBranch * | branch, | ||
const char * | membername | ||
) |
Constructor taking the branch name, possibly of a friended tree.
Used by TTreeReaderValue in place of TFriendProxy.
Definition at line 141 of file TBranchProxy.cxx.
|
virtual |
Typical Destructor.
Definition at line 157 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 405 of file TBranchProxy.h.
|
inlinevirtual |
Definition at line 384 of file TBranchProxy.h.
|
inline |
Definition at line 122 of file TBranchProxy.h.
|
inline |
Definition at line 388 of file TBranchProxy.h.
|
inline |
Definition at line 427 of file TBranchProxy.h.
|
inline |
Definition at line 409 of file TBranchProxy.h.
|
inlinevirtual |
Reimplemented in ROOT::Internal::TClaProxy, ROOT::Internal::TStlProxy, and ROOT::Internal::TArrayProxy< T >.
Definition at line 373 of file TBranchProxy.h.
|
inline |
Definition at line 517 of file TBranchProxy.h.
|
inline |
Definition at line 121 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 197 of file TBranchProxy.h.
|
inlinevirtual |
Definition at line 412 of file TBranchProxy.h.
|
inline |
Definition at line 473 of file TBranchProxy.h.
|
inline |
Definition at line 401 of file TBranchProxy.h.
|
inline |
Definition at line 138 of file TBranchProxy.h.
|
inline |
Definition at line 133 of file TBranchProxy.h.
|
inline |
Definition at line 126 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 187 of file TBranchProxy.cxx.
|
inline |
Definition at line 142 of file TBranchProxy.h.
|
inline |
Definition at line 349 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 229 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 321 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 307 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 335 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 283 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 270 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 296 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 244 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 257 of file TBranchProxy.h.
|
inlineprivate |
Definition at line 233 of file TBranchProxy.h.
void ROOT::Detail::TBranchProxy::Reset | ( | ) |
Completely reset the object.
Definition at line 166 of file TBranchProxy.cxx.
bool ROOT::Detail::TBranchProxy::Setup | ( | ) |
Initialize/cache the necessary information.
Definition at line 202 of file TBranchProxy.cxx.
|
friend |
Definition at line 181 of file TBranchProxy.h.
union { ... } ROOT::Detail::TBranchProxy |
|
protected |
Definition at line 95 of file TBranchProxy.h.
|
protected |
Definition at line 97 of file TBranchProxy.h.
TBranchElement* ROOT::Detail::TBranchProxy::fBranchCount |
Definition at line 99 of file TBranchProxy.h.
|
protected |
Definition at line 84 of file TBranchProxy.h.
|
protected |
Definition at line 91 of file TBranchProxy.h.
|
protected |
Definition at line 90 of file TBranchProxy.h.
|
protected |
Definition at line 108 of file TBranchProxy.h.
|
protected |
Definition at line 87 of file TBranchProxy.h.
|
protected |
Definition at line 76 of file TBranchProxy.h.
|
protected |
Definition at line 92 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 100 of file TBranchProxy.h.
|
protected |
Definition at line 93 of file TBranchProxy.h.
|
protected |
Definition at line 103 of file TBranchProxy.h.
|
protected |
Definition at line 94 of file TBranchProxy.h.
|
protected |
Definition at line 85 of file TBranchProxy.h.
|
protected |
Definition at line 105 of file TBranchProxy.h.
|
protected |
Definition at line 107 of file TBranchProxy.h.