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 569 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 ()
 
void * GetAddressOfElement (UInt_t i) final
 Return the address of the element number i.
 
virtual Int_t GetArrayLength ()
 
const char * GetBranchName () const
 
TClassGetClass ()
 
void * GetClaStart (UInt_t i=0)
 
TVirtualCollectionProxyGetCollection ()
 
virtual Int_t GetEntries ()
 
Int_t GetOffset ()
 
TBranchProxyGetProxy ()
 
virtual void * GetStart (UInt_t=0)
 
void * GetStlStart (UInt_t i=0)
 
bool GetSuppressErrorsForMissingBranch () const
 
std::size_t GetValueSize () const
 
void * GetWhere () const
 
bool IsaPointer () const
 
bool IsInitialized ()
 
bool Notify ()
 
 operator const char * ()
 
unsigned char operator[] (Int_t i)
 
unsigned char operator[] (UInt_t i)
 
void Print () override
 Display the content of the object.
 
bool Read ()
 
bool ReadEntries ()
 
void Reset ()
 Completely reset the object.
 
bool Setup ()
 Initialize/cache the necessary information.
 
 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.
 

Protected Attributes

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
 
bool fSuppressMissingBranchError {false}
 
std::size_t fValueSize {}
 
void * fWhere
 

Private Types

enum class  EReadType {
  kDefault , kNoDirector , kReadParentNoCollection , kReadParentCollectionNoPointer ,
  kReadParentCollectionPointer , kReadNoParentNoBranchCountCollectionPointer , kReadNoParentNoBranchCountCollectionNoPointer , kReadNoParentNoBranchCountNoCollection ,
  kReadNoParentBranchCountCollectionPointer , kReadNoParentBranchCountCollectionNoPointer , kReadNoParentBranchCountNoCollection
}
 

Private Member Functions

EReadType GetReadType ()
 
bool ReadNoDirector ()
 
bool ReadNoParentBranchCountCollectionNoPointer ()
 
bool ReadNoParentBranchCountCollectionPointer ()
 
bool ReadNoParentBranchCountNoCollection ()
 
bool ReadNoParentNoBranchCountCollectionNoPointer ()
 
bool ReadNoParentNoBranchCountCollectionPointer ()
 
bool ReadNoParentNoBranchCountNoCollection ()
 
bool ReadParentCollectionNoPointer ()
 
bool ReadParentCollectionPointer ()
 
bool ReadParentNoCollection ()
 

#include <TBranchProxy.h>

Inheritance diagram for ROOT::Internal::TArrayCharProxy:
ROOT::Detail::TBranchProxy

Member Enumeration Documentation

◆ EReadType

Enumerator
kDefault 
kNoDirector 
kReadParentNoCollection 
kReadParentCollectionNoPointer 
kReadParentCollectionPointer 
kReadNoParentNoBranchCountCollectionPointer 
kReadNoParentNoBranchCountCollectionNoPointer 
kReadNoParentNoBranchCountNoCollection 
kReadNoParentBranchCountCollectionPointer 
kReadNoParentBranchCountCollectionNoPointer 
kReadNoParentBranchCountNoCollection 

Definition at line 191 of file TBranchProxy.h.

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 587 of file TBranchProxy.h.

◆ c_str()

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

Definition at line 614 of file TBranchProxy.h.

◆ Data()

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

Definition at line 609 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 581 of file TBranchProxy.h.

◆ GetArrayLength()

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

Definition at line 420 of file TBranchProxy.h.

◆ GetBranchName()

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

Definition at line 126 of file TBranchProxy.h.

◆ GetClass()

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

Definition at line 424 of file TBranchProxy.h.

◆ GetClaStart()

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

Definition at line 463 of file TBranchProxy.h.

◆ GetCollection()

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

Definition at line 445 of file TBranchProxy.h.

◆ GetEntries()

virtual Int_t ROOT::Detail::TBranchProxy::GetEntries ( )
inlinevirtualinherited

◆ GetOffset()

Int_t ROOT::Detail::TBranchProxy::GetOffset ( )
inlineinherited

Definition at line 553 of file TBranchProxy.h.

◆ GetProxy()

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

Definition at line 125 of file TBranchProxy.h.

◆ GetReadType()

EReadType ROOT::Detail::TBranchProxy::GetReadType ( )
inlineprivateinherited

Definition at line 205 of file TBranchProxy.h.

◆ GetStart()

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

Definition at line 448 of file TBranchProxy.h.

◆ GetStlStart()

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

Definition at line 509 of file TBranchProxy.h.

◆ GetSuppressErrorsForMissingBranch()

bool ROOT::Detail::TBranchProxy::GetSuppressErrorsForMissingBranch ( ) const
inlineinherited

Definition at line 555 of file TBranchProxy.h.

◆ GetValueSize()

std::size_t ROOT::Detail::TBranchProxy::GetValueSize ( ) const
inlineinherited

Definition at line 557 of file TBranchProxy.h.

◆ GetWhere()

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

Definition at line 437 of file TBranchProxy.h.

◆ IsaPointer()

bool ROOT::Detail::TBranchProxy::IsaPointer ( ) const
inlineinherited

Definition at line 142 of file TBranchProxy.h.

◆ IsInitialized()

bool ROOT::Detail::TBranchProxy::IsInitialized ( )
inlineinherited

Definition at line 137 of file TBranchProxy.h.

◆ Notify()

bool ROOT::Detail::TBranchProxy::Notify ( )
inlineinherited

Definition at line 130 of file TBranchProxy.h.

◆ operator const char *()

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

Definition at line 604 of file TBranchProxy.h.

◆ operator[]() [1/2]

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

Definition at line 596 of file TBranchProxy.h.

◆ operator[]() [2/2]

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

Definition at line 600 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 571 of file TBranchProxy.h.

◆ Read()

bool ROOT::Detail::TBranchProxy::Read ( )
inlineinherited

Definition at line 146 of file TBranchProxy.h.

◆ ReadEntries()

bool ROOT::Detail::TBranchProxy::ReadEntries ( )
inlineinherited

Definition at line 381 of file TBranchProxy.h.

◆ ReadNoDirector()

bool ROOT::Detail::TBranchProxy::ReadNoDirector ( )
inlineprivateinherited

Definition at line 237 of file TBranchProxy.h.

◆ ReadNoParentBranchCountCollectionNoPointer()

bool ROOT::Detail::TBranchProxy::ReadNoParentBranchCountCollectionNoPointer ( )
inlineprivateinherited

Definition at line 345 of file TBranchProxy.h.

◆ ReadNoParentBranchCountCollectionPointer()

bool ROOT::Detail::TBranchProxy::ReadNoParentBranchCountCollectionPointer ( )
inlineprivateinherited

Definition at line 327 of file TBranchProxy.h.

◆ ReadNoParentBranchCountNoCollection()

bool ROOT::Detail::TBranchProxy::ReadNoParentBranchCountNoCollection ( )
inlineprivateinherited

Definition at line 363 of file TBranchProxy.h.

◆ ReadNoParentNoBranchCountCollectionNoPointer()

bool ROOT::Detail::TBranchProxy::ReadNoParentNoBranchCountCollectionNoPointer ( )
inlineprivateinherited

Definition at line 295 of file TBranchProxy.h.

◆ ReadNoParentNoBranchCountCollectionPointer()

bool ROOT::Detail::TBranchProxy::ReadNoParentNoBranchCountCollectionPointer ( )
inlineprivateinherited

Definition at line 278 of file TBranchProxy.h.

◆ ReadNoParentNoBranchCountNoCollection()

bool ROOT::Detail::TBranchProxy::ReadNoParentNoBranchCountNoCollection ( )
inlineprivateinherited

Definition at line 312 of file TBranchProxy.h.

◆ ReadParentCollectionNoPointer()

bool ROOT::Detail::TBranchProxy::ReadParentCollectionNoPointer ( )
inlineprivateinherited

Definition at line 252 of file TBranchProxy.h.

◆ ReadParentCollectionPointer()

bool ROOT::Detail::TBranchProxy::ReadParentCollectionPointer ( )
inlineprivateinherited

Definition at line 265 of file TBranchProxy.h.

◆ ReadParentNoCollection()

bool ROOT::Detail::TBranchProxy::ReadParentNoCollection ( )
inlineprivateinherited

Definition at line 241 of file TBranchProxy.h.

◆ Reset()

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

Completely reset the object.

Definition at line 209 of file TBranchProxy.cxx.

◆ Setup()

bool ROOT::Detail::TBranchProxy::Setup ( )
inherited

Initialize/cache the necessary information.

Definition at line 245 of file TBranchProxy.cxx.

◆ TBranchProxy() [1/6]

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

Constructor.

Definition at line 116 of file TBranchProxy.cxx.

◆ TBranchProxy() [2/6]

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

◆ TBranchProxy() [5/6]

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

Constructor.

Definition at line 120 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 119 of file TBranchProxy.cxx.

Member Data Documentation

◆ [union]

◆ fArrayLength

Int_t ROOT::Detail::TBranchProxy::fArrayLength
protectedinherited

Definition at line 96 of file TBranchProxy.h.

◆ fBranch

TBranch* ROOT::Detail::TBranchProxy::fBranch
protectedinherited

Definition at line 98 of file TBranchProxy.h.

◆ fBranchCount

TBranchElement* ROOT::Detail::TBranchProxy::fBranchCount
inherited

Definition at line 100 of file TBranchProxy.h.

◆ fBranchName

const TString ROOT::Detail::TBranchProxy::fBranchName
protectedinherited

Definition at line 85 of file TBranchProxy.h.

◆ fClass

TClass* ROOT::Detail::TBranchProxy::fClass
protectedinherited

Definition at line 92 of file TBranchProxy.h.

◆ fClassName

TString ROOT::Detail::TBranchProxy::fClassName
protectedinherited

Definition at line 91 of file TBranchProxy.h.

◆ fCollection

TVirtualCollectionProxy* ROOT::Detail::TBranchProxy::fCollection
protectedinherited

Definition at line 109 of file TBranchProxy.h.

◆ fDataMember

const TString ROOT::Detail::TBranchProxy::fDataMember
protectedinherited

Definition at line 88 of file TBranchProxy.h.

◆ fDirector

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

Definition at line 76 of file TBranchProxy.h.

◆ fElement

TStreamerElement* ROOT::Detail::TBranchProxy::fElement
protectedinherited

Definition at line 93 of file TBranchProxy.h.

◆ fHasLeafCount

bool ROOT::Detail::TBranchProxy::fHasLeafCount
protectedinherited

Definition at line 82 of file TBranchProxy.h.

◆ fInitialized

bool ROOT::Detail::TBranchProxy::fInitialized
protectedinherited

Definition at line 78 of file TBranchProxy.h.

◆ fIsaPointer

bool ROOT::Detail::TBranchProxy::fIsaPointer
protectedinherited

Definition at line 81 of file TBranchProxy.h.

◆ fIsClone

bool ROOT::Detail::TBranchProxy::fIsClone
protectedinherited

Definition at line 80 of file TBranchProxy.h.

◆ fIsMember

const bool ROOT::Detail::TBranchProxy::fIsMember
protectedinherited

Definition at line 79 of file TBranchProxy.h.

◆ fLeafCount

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

Definition at line 101 of file TBranchProxy.h.

◆ fMemberOffset

Int_t ROOT::Detail::TBranchProxy::fMemberOffset
protectedinherited

Definition at line 94 of file TBranchProxy.h.

◆ fNotify

TNotifyLink<TBranchProxy> ROOT::Detail::TBranchProxy::fNotify
protectedinherited

Definition at line 104 of file TBranchProxy.h.

◆ fOffset

Int_t ROOT::Detail::TBranchProxy::fOffset
protectedinherited

Definition at line 95 of file TBranchProxy.h.

◆ fParent

TBranchProxy* ROOT::Detail::TBranchProxy::fParent
protectedinherited

Definition at line 86 of file TBranchProxy.h.

◆ fRead

Long64_t ROOT::Detail::TBranchProxy::fRead
protectedinherited

Definition at line 106 of file TBranchProxy.h.

◆ fSuppressMissingBranchError

bool ROOT::Detail::TBranchProxy::fSuppressMissingBranchError {false}
protectedinherited

Definition at line 83 of file TBranchProxy.h.

◆ fValueSize

std::size_t ROOT::Detail::TBranchProxy::fValueSize {}
protectedinherited

Definition at line 111 of file TBranchProxy.h.

◆ fWhere

void* ROOT::Detail::TBranchProxy::fWhere
protectedinherited

Definition at line 108 of file TBranchProxy.h.


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