![]() |
ROOT
6.06/08
Reference Guide
|
Definition at line 43 of file TTreeReaderValue.h.
Public Types | |
| enum | ESetupStatus { kSetupNotSetup = -7, kSetupTreeDestructed = -8, kSetupMakeClassModeMismatch = -7, kSetupMissingCounterBranch = -6, kSetupMissingBranch = -5, kSetupInternalError = -4, kSetupMissingCompiledCollectionProxy = -3, kSetupMismatch = -2, kSetupClassMismatch = -1, kSetupMatch = 0, kSetupMatchBranch = 0, kSetupMatchConversion, kSetupMatchConversionCollection, kSetupMakeClass, kSetupVoidPtr, kSetupNoCheck, kSetupMatchLeaf } |
| enum | EReadStatus { kReadSuccess = 0, kReadNothingYet, kReadError } |
Public Member Functions | |
| EReadStatus | ProxyRead () |
| Try to read the value from the TBranchProxy, returns the status of the read. More... | |
| Bool_t | IsValid () const |
| ESetupStatus | GetSetupStatus () const |
| virtual EReadStatus | GetReadStatus () const |
| TLeaf * | GetLeaf () |
| If we are reading a leaf, return the corresponding TLeaf. More... | |
| void * | GetAddress () |
| Returns the memory address of the object being read. More... | |
| const char * | GetBranchName () const |
Protected Member Functions | |
| TTreeReaderValueBase (TTreeReader *reader=0, const char *branchname=0, TDictionary *dict=0) | |
| Construct a tree value reader and register it with the reader object. More... | |
| virtual | ~TTreeReaderValueBase () |
| Unregister from tree reader, cleanup. More... | |
| virtual void | CreateProxy () |
| Create the proxy object for our branch. More... | |
| const char * | GetBranchDataType (TBranch *branch, TDictionary *&dict) const |
| Retrieve the type of data stored by branch; put its dictionary into dict, return its type name. More... | |
| virtual const char * | GetDerivedTypeName () const =0 |
| Detail::TBranchProxy * | GetProxy () const |
| void | MarkTreeReaderUnavailable () |
Protected Attributes | |
| TString | fBranchName |
| TString | fLeafName |
| TTreeReader * | fTreeReader |
| TDictionary * | fDict |
| Detail::TBranchProxy * | fProxy |
| TLeaf * | fLeaf |
| Long64_t | fTreeLastOffset |
| ESetupStatus | fSetupStatus |
| EReadStatus | fReadStatus |
| std::vector< Long64_t > | fStaticClassOffsets |
Friends | |
| class | ::TTreeReader |
#include <TTreeReaderValue.h>
Inheritance diagram for ROOT::Internal::TTreeReaderValueBase:
Collaboration diagram for ROOT::Internal::TTreeReaderValueBase:| Enumerator | |
|---|---|
| kReadSuccess | |
| kReadNothingYet | |
| kReadError | |
Definition at line 66 of file TTreeReaderValue.h.
Definition at line 47 of file TTreeReaderValue.h.
|
protected |
Construct a tree value reader and register it with the reader object.
Definition at line 39 of file TTreeReaderValue.cxx.
Referenced by GetBranchName().
|
protectedvirtual |
Unregister from tree reader, cleanup.
Definition at line 57 of file TTreeReaderValue.cxx.
Referenced by GetBranchName().
|
protectedvirtual |
Create the proxy object for our branch.
Reimplemented in ROOT::Internal::TTreeReaderArrayBase.
Definition at line 148 of file TTreeReaderValue.cxx.
Referenced by GetBranchName().
| void * ROOT::Internal::TTreeReaderValueBase::GetAddress | ( | ) |
Returns the memory address of the object being read.
Definition at line 120 of file TTreeReaderValue.cxx.
Referenced by TTreeReaderValue< T >::Get(), GetReadStatus(), and ROOT::Internal::TVirtualCollectionReader::~TVirtualCollectionReader().
|
protected |
Retrieve the type of data stored by branch; put its dictionary into dict, return its type name.
If no dictionary is available, at least its type name should be returned.
Definition at line 374 of file TTreeReaderValue.cxx.
Referenced by CreateProxy(), and GetBranchName().
|
inline |
Definition at line 82 of file TTreeReaderValue.h.
|
protectedpure virtual |
Implemented in TTreeReaderArray< T >, and TTreeReaderValue< T >.
Referenced by CreateProxy(), TTreeReader::DeregisterValueReader(), and GetBranchName().
| TLeaf * ROOT::Internal::TTreeReaderValueBase::GetLeaf | ( | ) |
If we are reading a leaf, return the corresponding TLeaf.
Definition at line 80 of file TTreeReaderValue.cxx.
Referenced by GetAddress(), GetReadStatus(), and ROOT::Internal::TVirtualCollectionReader::~TVirtualCollectionReader().
|
inlineprotected |
Definition at line 95 of file TTreeReaderValue.h.
Referenced by ROOT::Internal::TTreeReaderArrayBase::GetSize(), and ROOT::Internal::TTreeReaderArrayBase::UntypedAt().
|
inlinevirtual |
Reimplemented in ROOT::Internal::TTreeReaderArrayBase.
Definition at line 76 of file TTreeReaderValue.h.
|
inline |
Definition at line 75 of file TTreeReaderValue.h.
|
inline |
Definition at line 74 of file TTreeReaderValue.h.
Referenced by TTreeReaderArray< T >::Iterator_t::operator++(), and TTreeReaderArray< T >::Iterator_t::operator==().
|
inlineprotected |
Definition at line 97 of file TTreeReaderValue.h.
| ROOT::Internal::TTreeReaderValueBase::EReadStatus ROOT::Internal::TTreeReaderValueBase::ProxyRead | ( | ) |
Try to read the value from the TBranchProxy, returns the status of the read.
Definition at line 67 of file TTreeReaderValue.cxx.
Referenced by GetAddress(), and ROOT::Internal::TVirtualCollectionReader::~TVirtualCollectionReader().
|
friend |
Definition at line 113 of file TTreeReaderValue.h.
|
protected |
Definition at line 99 of file TTreeReaderValue.h.
Referenced by CreateProxy(), TTreeReader::DeregisterValueReader(), GetBranchName(), and GetLeaf().
|
protected |
Definition at line 102 of file TTreeReaderValue.h.
Referenced by CreateProxy(), and GetBranchDataType().
|
protected |
Definition at line 104 of file TTreeReaderValue.h.
Referenced by CreateProxy(), GetAddress(), and GetLeaf().
|
protected |
Definition at line 100 of file TTreeReaderValue.h.
Referenced by CreateProxy(), GetAddress(), and GetLeaf().
|
protected |
Definition at line 103 of file TTreeReaderValue.h.
Referenced by CreateProxy(), TTreeReaderValue< T >::Get(), GetAddress(), GetProxy(), IsValid(), and ProxyRead().
|
protected |
Definition at line 107 of file TTreeReaderValue.h.
Referenced by GetAddress(), GetLeaf(), GetReadStatus(), IsValid(), and ProxyRead().
|
protected |
Definition at line 106 of file TTreeReaderValue.h.
Referenced by GetSetupStatus(), and IsValid().
|
protected |
Definition at line 108 of file TTreeReaderValue.h.
Referenced by CreateProxy(), and GetAddress().
|
protected |
Definition at line 105 of file TTreeReaderValue.h.
Referenced by GetLeaf().
|
protected |
Definition at line 101 of file TTreeReaderValue.h.
Referenced by CreateProxy(), GetLeaf(), MarkTreeReaderUnavailable(), and ~TTreeReaderValueBase().