ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ROOT::Internal::TTreeReaderArrayBase Class Reference

Definition at line 35 of file TTreeReaderArray.h.

Public Member Functions

 TTreeReaderArrayBase (TTreeReader *reader, const char *branchname, TDictionary *dict)
 
size_t GetSize () const
 
Bool_t IsEmpty () const
 
virtual EReadStatus GetReadStatus () const
 
- Public Member Functions inherited from ROOT::Internal::TTreeReaderValueBase
EReadStatus ProxyRead ()
 Try to read the value from the TBranchProxy, returns the status of the read. More...
 
Bool_t IsValid () const
 
ESetupStatus GetSetupStatus () const
 
TLeafGetLeaf ()
 If we are reading a leaf, return the corresponding TLeaf. More...
 
voidGetAddress ()
 Returns the memory address of the object being read. More...
 
const char * GetBranchName () const
 

Protected Member Functions

voidUntypedAt (size_t idx) const
 
virtual void CreateProxy ()
 Create the proxy object for our branch. More...
 
const char * GetBranchContentDataType (TBranch *branch, TString &contentTypeName, TDictionary *&dict) const
 Access a branch's collection content (not the collection itself) through a proxy. More...
 
- Protected Member Functions inherited from ROOT::Internal::TTreeReaderValueBase
 TTreeReaderValueBase (TTreeReader *reader=0, const char *branchname=0, TDictionary *dict=0)
 
virtual ~TTreeReaderValueBase ()
 Unregister from tree reader, cleanup. 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::TBranchProxyGetProxy () const
 
void MarkTreeReaderUnavailable ()
 

Protected Attributes

TVirtualCollectionReaderfImpl
 
- Protected Attributes inherited from ROOT::Internal::TTreeReaderValueBase
TString fBranchName
 
TString fLeafName
 
TTreeReaderfTreeReader
 
TDictionaryfDict
 
Detail::TBranchProxyfProxy
 
TLeaffLeaf
 
Long64_t fTreeLastOffset
 
ESetupStatus fSetupStatus
 
EReadStatus fReadStatus
 
std::vector< Long64_tfStaticClassOffsets
 

Additional Inherited Members

- Public Types inherited from ROOT::Internal::TTreeReaderValueBase
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 }
 

#include <TTreeReaderArray.h>

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

Constructor & Destructor Documentation

ROOT::Internal::TTreeReaderArrayBase::TTreeReaderArrayBase ( TTreeReader reader,
const char *  branchname,
TDictionary dict 
)
inline

Definition at line 37 of file TTreeReaderArray.h.

Member Function Documentation

virtual void ROOT::Internal::TTreeReaderArrayBase::CreateProxy ( )
protectedvirtual

Create the proxy object for our branch.

Reimplemented from ROOT::Internal::TTreeReaderValueBase.

const char * ROOT::Internal::TTreeReaderArrayBase::GetBranchContentDataType ( TBranch branch,
TString contentTypeName,
TDictionary *&  dict 
) const
protected

Access a branch's collection content (not the collection itself) through a proxy.

Retrieve the type of data contained in the collection stored by branch; put its dictionary into dict, If there is no dictionary, put its type name into contentTypeName. The contentTypeName is set to NULL if the branch does not contain a collection; in that case, the type of the branch is returned. In all other cases, NULL is returned.

Definition at line 553 of file TTreeReaderArray.cxx.

virtual EReadStatus ROOT::Internal::TTreeReaderArrayBase::GetReadStatus ( ) const
inlinevirtual

Reimplemented from ROOT::Internal::TTreeReaderValueBase.

Definition at line 44 of file TTreeReaderArray.h.

size_t ROOT::Internal::TTreeReaderArrayBase::GetSize ( ) const
inline

Definition at line 41 of file TTreeReaderArray.h.

Referenced by IsEmpty(), and TTreeReaderArray< T >::Iterator_t::operator++().

Bool_t ROOT::Internal::TTreeReaderArrayBase::IsEmpty ( ) const
inline

Definition at line 42 of file TTreeReaderArray.h.

Referenced by TTreeReaderArray< Int_t >::begin().

void* ROOT::Internal::TTreeReaderArrayBase::UntypedAt ( size_t  idx) const
inlineprotected

Definition at line 47 of file TTreeReaderArray.h.

Referenced by TTreeReaderArray< Int_t >::At().

Member Data Documentation

TVirtualCollectionReader* ROOT::Internal::TTreeReaderArrayBase::fImpl
protected

Definition at line 53 of file TTreeReaderArray.h.

Referenced by GetReadStatus(), GetSize(), and UntypedAt().

Collaboration diagram for ROOT::Internal::TTreeReaderArrayBase:
[legend]

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