#ifndef ROOT_TLeafObject
#define ROOT_TLeafObject
#ifndef ROOT_TLeaf
#include "TLeaf.h"
#endif
class TClass;
class TMethodCall;
class TLeafObject : public TLeaf {
protected:
TClass *fClass;
void **fObjAddress;
Bool_t fVirtual;
public:
enum { kWarn = BIT(12) };
TLeafObject();
TLeafObject(const char *name, const char *type);
virtual ~TLeafObject();
virtual void FillBasket(TBuffer &b);
TClass *GetClass() const {return fClass;}
TMethodCall *GetMethodCall(const char *name);
TObject *GetObject() const {return (TObject*)(*fObjAddress);}
const char *GetTypeName() const ;
virtual void *GetValuePointer() const {return fObjAddress;}
Bool_t IsOnTerminalBranch() const;
Bool_t IsVirtual() const {return fVirtual;}
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) {fVirtual=virt;}
ClassDef(TLeafObject,4);
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.