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 | List of all members
TTreeReaderValue< T > Class Template Reference

template<typename T>
class TTreeReaderValue< T >

Extracts data from a TTree.

Definition at line 121 of file TTreeReaderValue.h.

Public Member Functions

 TTreeReaderValue ()
 
 TTreeReaderValue (TTreeReader &tr, const char *branchname)
 
TGet ()
 
Toperator-> ()
 
Toperator* ()
 
- 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
 
virtual EReadStatus GetReadStatus () 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

virtual const char * GetDerivedTypeName () const
 
- 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...
 
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...
 
Detail::TBranchProxyGetProxy () const
 
void MarkTreeReaderUnavailable ()
 

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 }
 
- 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
 

#include <TTreeReaderValue.h>

Inheritance diagram for TTreeReaderValue< T >:
[legend]

Constructor & Destructor Documentation

template<typename T>
TTreeReaderValue< T >::TTreeReaderValue ( )
inline

Definition at line 123 of file TTreeReaderValue.h.

template<typename T>
TTreeReaderValue< T >::TTreeReaderValue ( TTreeReader tr,
const char *  branchname 
)
inline

Definition at line 124 of file TTreeReaderValue.h.

Member Function Documentation

template<typename T>
T* TTreeReaderValue< T >::Get ( )
inline
template<typename T>
virtual const char* TTreeReaderValue< T >::GetDerivedTypeName ( ) const
inlineprotectedvirtual

Implements ROOT::Internal::TTreeReaderValueBase.

Definition at line 140 of file TTreeReaderValue.h.

template<typename T>
T& TTreeReaderValue< T >::operator* ( )
inline

Definition at line 135 of file TTreeReaderValue.h.

template<typename T>
T* TTreeReaderValue< T >::operator-> ( )
inline

Definition at line 134 of file TTreeReaderValue.h.

Collaboration diagram for TTreeReaderValue< T >:
[legend]

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