Logo ROOT   6.12/06
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | List of all members
ROOT::Detail::TBranchProxy Class Reference

Base class for all the proxy object.

It includes the imeplemtation of the autoloading of branches as well as all the generic setup routine.

Definition at line 66 of file TBranchProxy.h.

Public Member Functions

 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)
 
virtual ~TBranchProxy ()
 
virtual void * GetAddressOfElement (UInt_t)
 Return the address of the element number i. More...
 
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_t IsaPointer () const
 
Bool_t IsInitialized ()
 
virtual void Print ()
 
Bool_t Read ()
 
Bool_t ReadEntries ()
 
void Reset ()
 
Bool_t Setup ()
 

Protected Attributes

union {
   TBranch *   fBranchCount
 
   TLeaf *   fLeafCount
 
}; 
 
Int_t fArrayLength
 
TBranch * fBranch
 
const TString fBranchName
 
TClass * fClass
 
TString fClassName
 
TVirtualCollectionProxy * fCollection
 
Int_t fCurrentTreeNumber
 
const TString fDataMember
 
Internal::TBranchProxyDirector * fDirector
 
TStreamerElement * fElement
 
Bool_t fHasLeafCount: 1
 
Bool_t fInitialized: 1
 
Bool_t fIsaPointer: 1
 
Bool_t fIsClone: 1
 
const Bool_t fIsMember: 1
 
TTree * fLastTree
 
Int_t fMemberOffset
 
Int_t fOffset
 
TBranchProxy * fParent
 
Long64_t fRead
 
void * fWhere
 

#include <TBranchProxy.h>

Inheritance diagram for ROOT::Detail::TBranchProxy:
[legend]

Constructor & Destructor Documentation

ROOT::Detail::TBranchProxy::TBranchProxy ( )

Definition at line 27 of file TBranchProxy.cxx.

ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector *  boss,
const char *  top,
const char *  name = 0 
)

Definition at line 37 of file TBranchProxy.cxx.

ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector *  boss,
const char *  top,
const char *  name,
const char *  membername 
)

Definition at line 54 of file TBranchProxy.cxx.

ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector *  boss,
Detail::TBranchProxy *  parent,
const char *  membername,
const char *  top = 0,
const char *  name = 0 
)

Definition at line 72 of file TBranchProxy.cxx.

ROOT::Detail::TBranchProxy::TBranchProxy ( Internal::TBranchProxyDirector *  boss,
TBranch *  branch,
const char *  membername 
)

Definition at line 91 of file TBranchProxy.cxx.

ROOT::Detail::TBranchProxy::~TBranchProxy ( )
virtual

Definition at line 103 of file TBranchProxy.cxx.

Member Function Documentation

virtual void* ROOT::Detail::TBranchProxy::GetAddressOfElement ( UInt_t  )
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::TArrayProxy< T >, ROOT::Internal::TStlProxy, ROOT::Internal::TClaProxy, and ROOT::Internal::TArrayCharProxy.

Definition at line 214 of file TBranchProxy.h.

virtual Int_t ROOT::Detail::TBranchProxy::GetArrayLength ( )
inlinevirtual

Definition at line 194 of file TBranchProxy.h.

const char* ROOT::Detail::TBranchProxy::GetBranchName ( ) const
inline

Definition at line 114 of file TBranchProxy.h.

TClass* ROOT::Detail::TBranchProxy::GetClass ( )
inline

Definition at line 198 of file TBranchProxy.h.

void* ROOT::Detail::TBranchProxy::GetClaStart ( UInt_t  i = 0)
inline

Definition at line 236 of file TBranchProxy.h.

TVirtualCollectionProxy* ROOT::Detail::TBranchProxy::GetCollection ( )
inline

Definition at line 218 of file TBranchProxy.h.

virtual Int_t ROOT::Detail::TBranchProxy::GetEntries ( )
inlinevirtual
Int_t ROOT::Detail::TBranchProxy::GetOffset ( )
inline

Definition at line 326 of file TBranchProxy.h.

TBranchProxy* ROOT::Detail::TBranchProxy::GetProxy ( )
inline

Definition at line 113 of file TBranchProxy.h.

virtual void* ROOT::Detail::TBranchProxy::GetStart ( UInt_t  = 0)
inlinevirtual

Definition at line 221 of file TBranchProxy.h.

void* ROOT::Detail::TBranchProxy::GetStlStart ( UInt_t  i = 0)
inline

Definition at line 282 of file TBranchProxy.h.

void* ROOT::Detail::TBranchProxy::GetWhere ( ) const
inline

Definition at line 210 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::IsaPointer ( ) const
inline

Definition at line 124 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::IsInitialized ( )
inline

Definition at line 120 of file TBranchProxy.h.

void ROOT::Detail::TBranchProxy::Print ( void  )
virtual
Bool_t ROOT::Detail::TBranchProxy::Read ( )
inline

Definition at line 128 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::ReadEntries ( )
inline

Definition at line 162 of file TBranchProxy.h.

void ROOT::Detail::TBranchProxy::Reset ( void  )

Definition at line 108 of file TBranchProxy.cxx.

Bool_t ROOT::Detail::TBranchProxy::Setup ( )

Definition at line 140 of file TBranchProxy.cxx.

Member Data Documentation

union { ... }
Int_t ROOT::Detail::TBranchProxy::fArrayLength
protected

Definition at line 87 of file TBranchProxy.h.

TBranch* ROOT::Detail::TBranchProxy::fBranch
protected

Definition at line 89 of file TBranchProxy.h.

TBranch* ROOT::Detail::TBranchProxy::fBranchCount

Definition at line 91 of file TBranchProxy.h.

const TString ROOT::Detail::TBranchProxy::fBranchName
protected

Definition at line 76 of file TBranchProxy.h.

TClass* ROOT::Detail::TBranchProxy::fClass
protected

Definition at line 83 of file TBranchProxy.h.

TString ROOT::Detail::TBranchProxy::fClassName
protected

Definition at line 82 of file TBranchProxy.h.

TVirtualCollectionProxy* ROOT::Detail::TBranchProxy::fCollection
protected

Definition at line 99 of file TBranchProxy.h.

Int_t ROOT::Detail::TBranchProxy::fCurrentTreeNumber
protected

Definition at line 101 of file TBranchProxy.h.

const TString ROOT::Detail::TBranchProxy::fDataMember
protected

Definition at line 79 of file TBranchProxy.h.

Internal::TBranchProxyDirector* ROOT::Detail::TBranchProxy::fDirector
protected

Definition at line 68 of file TBranchProxy.h.

TStreamerElement* ROOT::Detail::TBranchProxy::fElement
protected

Definition at line 84 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::fHasLeafCount
protected

Definition at line 74 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::fInitialized
protected

Definition at line 70 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::fIsaPointer
protected

Definition at line 73 of file TBranchProxy.h.

Bool_t ROOT::Detail::TBranchProxy::fIsClone
protected

Definition at line 72 of file TBranchProxy.h.

const Bool_t ROOT::Detail::TBranchProxy::fIsMember
protected

Definition at line 71 of file TBranchProxy.h.

TTree* ROOT::Detail::TBranchProxy::fLastTree
protected

Definition at line 95 of file TBranchProxy.h.

TLeaf* ROOT::Detail::TBranchProxy::fLeafCount

Definition at line 92 of file TBranchProxy.h.

Int_t ROOT::Detail::TBranchProxy::fMemberOffset
protected

Definition at line 85 of file TBranchProxy.h.

Int_t ROOT::Detail::TBranchProxy::fOffset
protected

Definition at line 86 of file TBranchProxy.h.

TBranchProxy* ROOT::Detail::TBranchProxy::fParent
protected

Definition at line 77 of file TBranchProxy.h.

Long64_t ROOT::Detail::TBranchProxy::fRead
protected

Definition at line 96 of file TBranchProxy.h.

void* ROOT::Detail::TBranchProxy::fWhere
protected

Definition at line 98 of file TBranchProxy.h.

Libraries for ROOT::Detail::TBranchProxy:
[legend]

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