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

Concrete Implementation of the branch proxy around the data members which are array of char.

Definition at line 521 of file TBranchProxy.h.

Public Member Functions

 TArrayCharProxy ()=default
 
 ~TArrayCharProxy () override=default
 
unsigned char At (UInt_t i)
 
const char * c_str ()
 
const char * Data ()
 
voidGetAddressOfElement (UInt_t i) final
 Return the address of the element number i.
 
 operator const char * ()
 
unsigned char operator[] (Int_t i)
 
unsigned char 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)
 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=0)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranch *branch, const char *membername)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranchProxy *parent, const char *membername, const char *top=0, const char *name=0)
 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=0)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranch *branch, const char *membername)
 Constructor.
 
 TBranchProxy (Internal::TBranchProxyDirector *boss, TBranchProxy *parent, const char *membername, const char *top=0, const char *name=0)
 Constructor.
 
virtual ~TBranchProxy ()
 Typical Destructor.
 
virtual Int_t GetArrayLength ()
 
const char * GetBranchName () const
 
TClassGetClass ()
 
voidGetClaStart (UInt_t i=0)
 
TVirtualCollectionProxyGetCollection ()
 
virtual Int_t GetEntries ()
 
Int_t GetOffset ()
 
TBranchProxyGetProxy ()
 
virtual voidGetStart (UInt_t=0)
 
voidGetStlStart (UInt_t i=0)
 
voidGetWhere () const
 
Bool_t IsaPointer () const
 
Bool_t IsInitialized ()
 
Bool_t Notify ()
 
Bool_t Read ()
 
Bool_t ReadEntries ()
 
void Reset ()
 Completely reset the object.
 
Bool_t Setup ()
 Initialize/cache the necessary information.
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Detail::TBranchProxy
union { 
 
   TBranch *   fBranchCount 
 
   TLeaf *   fLeafCount 
 
};  
 
Int_t fArrayLength
 
TBranchfBranch
 
const TString fBranchName
 
TClassfClass
 
TString fClassName
 
TVirtualCollectionProxyfCollection
 
const TString fDataMember
 
Internal::TBranchProxyDirectorfDirector
 
TStreamerElementfElement
 
Bool_t fHasLeafCount: 1
 
Bool_t fInitialized: 1
 
Bool_t fIsaPointer: 1
 
Bool_t fIsClone: 1
 
const Bool_t fIsMember: 1
 
Int_t fMemberOffset
 
TNotifyLink< TBranchProxyfNotify
 
Int_t fOffset
 
TBranchProxyfParent
 
Long64_t fRead
 
voidfWhere
 

#include <TBranchProxy.h>

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

Constructor & Destructor Documentation

◆ TArrayCharProxy()

ROOT::Internal::TArrayCharProxy::TArrayCharProxy ( )
default

◆ ~TArrayCharProxy()

ROOT::Internal::TArrayCharProxy::~TArrayCharProxy ( )
overridedefault

Member Function Documentation

◆ At()

unsigned char ROOT::Internal::TArrayCharProxy::At ( UInt_t  i)
inline

Definition at line 539 of file TBranchProxy.h.

◆ c_str()

const char * ROOT::Internal::TArrayCharProxy::c_str ( )
inline

Definition at line 566 of file TBranchProxy.h.

◆ Data()

const char * ROOT::Internal::TArrayCharProxy::Data ( )
inline

Definition at line 561 of file TBranchProxy.h.

◆ GetAddressOfElement()

void * ROOT::Internal::TArrayCharProxy::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 533 of file TBranchProxy.h.

◆ operator const char *()

ROOT::Internal::TArrayCharProxy::operator const char * ( )
inline

Definition at line 556 of file TBranchProxy.h.

◆ operator[]() [1/2]

unsigned char ROOT::Internal::TArrayCharProxy::operator[] ( Int_t  i)
inline

Definition at line 548 of file TBranchProxy.h.

◆ operator[]() [2/2]

unsigned char ROOT::Internal::TArrayCharProxy::operator[] ( UInt_t  i)
inline

Definition at line 552 of file TBranchProxy.h.

◆ Print()

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

Display the content of the object.

Reimplemented from ROOT::Detail::TBranchProxy.

Definition at line 523 of file TBranchProxy.h.

◆ TBranchProxy() [1/6]

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

Constructor.

Definition at line 108 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 113 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 110 of file TBranchProxy.cxx.

◆ TBranchProxy() [4/6]

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

Constructor.

Definition at line 109 of file TBranchProxy.cxx.

◆ TBranchProxy() [5/6]

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

Constructor.

Definition at line 112 of file TBranchProxy.cxx.

◆ TBranchProxy() [6/6]

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

Constructor.

Definition at line 111 of file TBranchProxy.cxx.

Libraries for ROOT::Internal::TArrayCharProxy:

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