library: libTree
#include "TLeafObject.h"

TLeafObject


class description - source file - inheritance tree (.pdf)

class TLeafObject : public TLeaf

Inheritance Chart:
TObject
<-
TNamed
<-
TLeaf
<-
TLeafObject

    public:
TLeafObject() TLeafObject(const char* name, const char* type) TLeafObject(const TLeafObject&) virtual ~TLeafObject() static TClass* Class() virtual void FillBasket(TBuffer& b) TClass* GetClass() const TMethodCall* GetMethodCall(const char* name) TObject* GetObject() const virtual const char* GetTypeName() const virtual void* GetValuePointer() const virtual TClass* IsA() const virtual Bool_t IsOnTerminalBranch() const Bool_t IsVirtual() const virtual Bool_t Notify() TLeafObject& operator=(const TLeafObject&) 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) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TClass* fClass ! pointer to class void** fObjAddress ! Address of Pointer to object Bool_t fVirtual Support for Virtuality public:
static const enum TLeafObject:: kWarn

Class Description

                                                                      
 A TLeaf for a general object derived from TObject.                   


TLeafObject(): TLeaf()
*-*-*-*-*-*Default constructor for LeafObject*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*        =================================

TLeafObject(const char *name, const char *type) :TLeaf(name,type)
*-*-*-*-*-*-*-*-*-*-*-*-*Create a LeafObject*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ==================
*-*

~TLeafObject()
*-*-*-*-*-*Default destructor for a LeafObject*-*-*-*-*-*-*-*-*-*-*-*
*-*        ==================================

void FillBasket(TBuffer &b)
*-*-*-*-*-*-*-*-*-*-*Pack leaf elements in Basket output buffer*-*-*-*-*-*-*
*-*                  =========================================

TMethodCall* GetMethodCall(const char *name)
*-*-*-*-*-*-*-*Returns pointer to method corresponding to name*-*-*-*-*-*-*
*-*            ============================================
*-*
*-*    name is a string with the general form  "method(list of params)"
*-*   If list of params is omitted, () is assumed;
*-*

const char* GetTypeName() const
*-*-*-*-*-*-*-*Returns name of leaf type*-*-*-*-*-*-*-*-*-*-*-*
*-*            =========================

Bool_t Notify()
 This method must be overridden to handle object notifcation.

void PrintValue(Int_t) const
 Prints leaf value

void ReadBasket(TBuffer &b)
*-*-*-*-*-*-*-*-*-*-*Read leaf elements from Basket input buffer*-*-*-*-*-*
*-*                  ===========================================

void SetAddress(void *add)
*-*-*-*-*-*-*-*-*-*-*Set leaf buffer data address*-*-*-*-*-*
*-*                  ============================

void Streamer(TBuffer &b)
 Stream an object of class TLeafObject.



Inline Functions


             TClass* GetClass() const
            TObject* GetObject() const
               void* GetValuePointer() const
              Bool_t IsOnTerminalBranch() const
              Bool_t IsVirtual() const
                void SetVirtual(Bool_t virt = kTRUE)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void StreamerNVirtual(TBuffer& b)
         TLeafObject TLeafObject(const TLeafObject&)
        TLeafObject& operator=(const TLeafObject&)


Author: Rene Brun 27/01/96
Last update: root/tree:$Name: $:$Id: TLeafObject.cxx,v 1.15 2004/01/10 10:52:30 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.