Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::TStlProxy Class Reference

Base class for the proxy around STL containers.

Definition at line 630 of file TBranchProxy.h.

Public Member Functions

 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)
 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)
 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)
 
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
 
void * fWhere
 

#include <TBranchProxy.h>

Inheritance diagram for ROOT::Internal::TStlProxy:
[legend]

Constructor & Destructor Documentation

◆ TStlProxy()

ROOT::Internal::TStlProxy::TStlProxy ( )
default

◆ ~TStlProxy()

ROOT::Internal::TStlProxy::~TStlProxy ( )
overridedefault

Member Function Documentation

◆ GetAddressOfElement()

void * ROOT::Internal::TStlProxy::GetAddressOfElement ( UInt_t  )
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 658 of file TBranchProxy.h.

◆ GetEntries()

Int_t ROOT::Internal::TStlProxy::GetEntries ( )
inlineoverridevirtual

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 653 of file TBranchProxy.h.

◆ GetPtr()

TVirtualCollectionProxy * ROOT::Internal::TStlProxy::GetPtr ( )
inline

Definition at line 648 of file TBranchProxy.h.

◆ operator->()

const TVirtualCollectionProxy * ROOT::Internal::TStlProxy::operator-> ( )
inline

Definition at line 664 of file TBranchProxy.h.

◆ Print()

void ROOT::Internal::TStlProxy::Print ( )
inlineoverridevirtual

Display the content of the object.

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 632 of file TBranchProxy.h.

◆ TBranchProxy() [1/6]

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

Constructor.

Definition at line 113 of file TBranchProxy.cxx.

◆ TBranchProxy() [2/6]

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 118 of file TBranchProxy.cxx.

◆ TBranchProxy() [3/6]

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

Constructor.

Definition at line 115 of file TBranchProxy.cxx.

◆ TBranchProxy() [4/6]

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

Constructor.

Definition at line 114 of file TBranchProxy.cxx.

◆ TBranchProxy() [5/6]

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

Constructor.

Definition at line 117 of file TBranchProxy.cxx.

◆ TBranchProxy() [6/6]

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 116 of file TBranchProxy.cxx.

Libraries for ROOT::Internal::TStlProxy:

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