#include <TLeafObject.h>
Inheritance diagram for TLeafObject:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TLeafObject () | |
TLeafObject (TBranch *parent, const char *name, const char *type) | |
virtual | ~TLeafObject () |
virtual void | FillBasket (TBuffer &b) |
TClass * | GetClass () const |
TMethodCall * | GetMethodCall (const char *name) |
TObject * | GetObject () const |
const char * | GetTypeName () const |
virtual void * | GetValuePointer () const |
Bool_t | IsOnTerminalBranch () const |
Bool_t | IsVirtual () const |
virtual Bool_t | Notify () |
virtual void | PrintValue (Int_t i=0) const |
virtual void | ReadBasket (TBuffer &b) |
virtual void | SetAddress (void *add=0) |
virtual void | SetVirtual (Bool_t virt=kTRUE) |
ClassDef (TLeafObject, 4) | |
TLeafObject () | |
TLeafObject (TBranch *parent, const char *name, const char *type) | |
virtual | ~TLeafObject () |
virtual void | FillBasket (TBuffer &b) |
TClass * | GetClass () const |
TMethodCall * | GetMethodCall (const char *name) |
TObject * | GetObject () const |
const char * | GetTypeName () const |
virtual void * | GetValuePointer () const |
Bool_t | IsOnTerminalBranch () const |
Bool_t | IsVirtual () const |
virtual Bool_t | Notify () |
virtual void | PrintValue (Int_t i=0) const |
virtual void | ReadBasket (TBuffer &b) |
virtual void | SetAddress (void *add=0) |
virtual void | SetVirtual (Bool_t virt=kTRUE) |
ClassDef (TLeafObject, 4) | |
Protected Attributes | |
TClassRef | fClass |
void ** | fObjAddress |
pointer to class | |
Bool_t | fVirtual |
Address of Pointer to object. | |
void ** | fObjAddress |
pointer to class |
Definition at line 35 of file TLeafObject.h.
anonymous enum |
Definition at line 43 of file TLeafObject.h.
anonymous enum |
Definition at line 43 of file TLeafObject.h.
TLeafObject::TLeafObject | ( | ) |
TLeafObject::TLeafObject | ( | TBranch * | parent, | |
const char * | name, | |||
const char * | type | |||
) |
Definition at line 37 of file TLeafObject.cxx.
References fClass, fObjAddress, fVirtual, TClass::GetClass(), kTRUE, and TNamed::SetTitle().
TLeafObject::~TLeafObject | ( | ) | [virtual] |
Definition at line 51 of file TLeafObject.cxx.
TLeafObject::TLeafObject | ( | ) |
TLeafObject::TLeafObject | ( | TBranch * | parent, | |
const char * | name, | |||
const char * | type | |||
) |
virtual TLeafObject::~TLeafObject | ( | ) | [virtual] |
void TLeafObject::FillBasket | ( | TBuffer & | b | ) | [virtual] |
Reimplemented from TLeaf.
Definition at line 60 of file TLeafObject.cxx.
References b, TObject::Error(), fClass, fObjAddress, fVirtual, TNamed::GetName(), GetObject(), TObject::kInvalidObject, n, and object.
TClass* TLeafObject::GetClass | ( | ) | const [inline] |
Definition at line 50 of file TLeafObject.h.
References fClass.
Referenced by TTreeFormula::BranchHasMethod(), TBranchObject::GetExpectedType(), TTreePlayer::MakeClass(), and TTreePlayer::MakeCode().
TMethodCall * TLeafObject::GetMethodCall | ( | const char * | name | ) |
Definition at line 90 of file TLeafObject.cxx.
References TObject::Error(), fClass, TClass::GetClass(), TNamed::GetTitle(), m, params, and strcpy().
TObject* TLeafObject::GetObject | ( | ) | const [inline] |
Definition at line 52 of file TLeafObject.h.
Referenced by TTreeFormula::BranchHasMethod(), FillBasket(), and TVirtualBranchBrowsable::GetCollectionContainedType().
const char * TLeafObject::GetTypeName | ( | ) | const [virtual] |
Reimplemented from TLeaf.
Definition at line 115 of file TLeafObject.cxx.
References TString::Data(), and TNamed::fTitle.
Referenced by TTreePlayer::MakeClass(), and TTreePlayer::MakeCode().
virtual void* TLeafObject::GetValuePointer | ( | ) | const [inline, virtual] |
Reimplemented from TLeaf.
Definition at line 54 of file TLeafObject.h.
References fObjAddress.
Referenced by PrintValue().
Bool_t TLeafObject::IsOnTerminalBranch | ( | ) | const [virtual] |
Reimplemented from TLeaf.
Definition at line 230 of file TLeafObject.cxx.
References TLeaf::fBranch, TObjArray::GetEntriesFast(), TBranch::GetListOfBranches(), kFALSE, and kTRUE.
Bool_t TLeafObject::IsVirtual | ( | ) | const [inline] |
Bool_t TLeafObject::Notify | ( | ) | [virtual] |
Reimplemented from TObject.
Definition at line 124 of file TLeafObject.cxx.
References fClass, TClass::GetClass(), TNamed::GetTitle(), and kFALSE.
void TLeafObject::PrintValue | ( | Int_t | i = 0 |
) | const [virtual] |
Reimplemented from TLeaf.
Definition at line 133 of file TLeafObject.cxx.
References GetValuePointer().
void TLeafObject::ReadBasket | ( | TBuffer & | b | ) | [virtual] |
Reimplemented from TLeaf.
Definition at line 141 of file TLeafObject.cxx.
References b, classname, TLeaf::fBranch, fClass, fObjAddress, fVirtual, TLeaf::GetBranch(), TClass::GetClass(), TBranch::IsAutoDelete(), TObject::kInvalidObject, kWarn, n, object, TBranch::SetAddress(), TObject::SetBit(), TObject::TestBit(), and TObject::Warning().
void TLeafObject::SetAddress | ( | void * | add = 0 |
) | [virtual] |
TLeafObject::ClassDef | ( | TLeafObject | , | |
4 | ||||
) |
TClass* TLeafObject::GetClass | ( | ) | const [inline] |
TMethodCall* TLeafObject::GetMethodCall | ( | const char * | name | ) |
TObject* TLeafObject::GetObject | ( | ) | const [inline] |
Definition at line 52 of file TLeafObject.h.
const char* TLeafObject::GetTypeName | ( | ) | const [virtual] |
Reimplemented from TLeaf.
virtual void* TLeafObject::GetValuePointer | ( | ) | const [inline, virtual] |
Bool_t TLeafObject::IsVirtual | ( | ) | const [inline] |
virtual void TLeafObject::SetAddress | ( | void * | add = 0 |
) | [virtual] |
Reimplemented from TLeaf.
TLeafObject::ClassDef | ( | TLeafObject | , | |
4 | ||||
) |
TClassRef TLeafObject::fClass [protected] |
Definition at line 38 of file TLeafObject.h.
Referenced by FillBasket(), GetClass(), GetMethodCall(), Notify(), ReadBasket(), and TLeafObject().
void** TLeafObject::fObjAddress [protected] |
pointer to class
Definition at line 39 of file TLeafObject.h.
Referenced by FillBasket(), GetValuePointer(), ReadBasket(), SetAddress(), and TLeafObject().
Bool_t TLeafObject::fVirtual [protected] |
Address of Pointer to object.
Definition at line 40 of file TLeafObject.h.
Referenced by FillBasket(), IsVirtual(), ReadBasket(), SetVirtual(), and TLeafObject().
void** TLeafObject::fObjAddress [protected] |