A++ » INCLUDE » ROOT::Internal::TTreeReaderValueBase

class ROOT::Internal::TTreeReaderValueBase


TTreeReaderValue

A simple interface for reading data from trees or chains.



Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TTreeReaderValueBase()
void*GetAddress()
const char*GetBranchName() const
TLeaf*GetLeaf()
virtual ROOT::Internal::TTreeReaderValueBase::EReadStatusGetReadStatus() const
ROOT::Internal::TTreeReaderValueBase::ESetupStatusGetSetupStatus() const
Bool_tIsValid() const
ROOT::Internal::TTreeReaderValueBase::EReadStatusProxyRead()
protected:
virtual voidCreateProxy()
const char*GetBranchDataType(TBranch* branch, TDictionary*& dict) const
virtual const char*GetDerivedTypeName() const
static stringGetElementTypeName(const type_info& ti)
ROOT::Detail::TBranchProxy*GetProxy() const
voidMarkTreeReaderUnavailable()
voidNotifyNewTree(TTree* newTree)
ROOT::Internal::TTreeReaderValueBase&operator=(const ROOT::Internal::TTreeReaderValueBase&)
voidRegisterWithTreeReader()
ROOT::Internal::TTreeReaderValueBaseTTreeReaderValueBase(const ROOT::Internal::TTreeReaderValueBase&)
ROOT::Internal::TTreeReaderValueBaseTTreeReaderValueBase(TTreeReader* reader = 0, const char* branchname = 0, TDictionary* dict = 0)

Data Members

public:
static ROOT::Internal::TTreeReaderValueBase::EReadStatuskReadError
static ROOT::Internal::TTreeReaderValueBase::EReadStatuskReadNothingYet
static ROOT::Internal::TTreeReaderValueBase::EReadStatuskReadSuccess
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupInternalError
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMakeClassModeMismatch
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMatch
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMatchBranch
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMatchLeaf
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMismatch
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMissingBranch
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMissingCounterBranch
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupMissingDictionary
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupNoCheck
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupNotACollection
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupNotSetup
static ROOT::Internal::TTreeReaderValueBase::ESetupStatuskSetupTreeDestructed
protected:
TStringfBranchNamename of the branch to read data from.
TDictionary*fDicttype that the branch should contain
TLeaf*fLeaf
TStringfLeafName
ROOT::Detail::TBranchProxy*fProxyproxy for this branch, owned by TTreeReader
ROOT::Internal::TTreeReaderValueBase::EReadStatusfReadStatusread status of this data access
ROOT::Internal::TTreeReaderValueBase::ESetupStatusfSetupStatussetup status of this data access
vector<Long64_t>fStaticClassOffsets
TTreeReader*fTreeReadertree reader we belong to

Class Charts

Inheritance Chart:
ROOT::Internal::TTreeReaderValueBase
ROOT::Internal::TTreeReaderArrayBase

Function documentation

EReadStatus ProxyRead()
Bool_t IsValid() const
{ return fProxy && 0 == (int)fSetupStatus && 0 == (int)fReadStatus; }
ESetupStatus GetSetupStatus() const
{ return fSetupStatus; }
EReadStatus GetReadStatus() const
{ return fReadStatus; }
TLeaf* GetLeaf()
 If we are reading a leaf, return the corresponding TLeaf.
{ return fLeaf; }
void* GetAddress()
const char* GetBranchName() const
{ return fBranchName; }
virtual ~TTreeReaderValueBase()
TTreeReaderValueBase(TTreeReader* reader = 0, const char* branchname = 0, TDictionary* dict = 0)
TTreeReaderValueBase(const ROOT::Internal::TTreeReaderValueBase& )
TTreeReaderValueBase& operator=(const ROOT::Internal::TTreeReaderValueBase& )
void RegisterWithTreeReader()
void NotifyNewTree(TTree* newTree)
void CreateProxy()
const char* GetBranchDataType(TBranch* branch, TDictionary*& dict) const
Detail::TBranchProxy* GetProxy() const
{ return fProxy; }
void MarkTreeReaderUnavailable()
std::string GetElementTypeName(const type_info& ti)
 Stringify the template argument.
const char* GetDerivedTypeName() const
 FIXME: use IsA() instead once we have ClassDefTInline
 Get the template argument as a string.