library: libTree #include "TLeafElement.h"

# TLeafElement

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

## class TLeafElement : public TLeaf

| Inheritance Chart:
`TObject`
| <- | `TNamed`
| <- | `TLeaf`
| <- | `TLeafElement` |

        public:

                              TLeafElement()
                              TLeafElement(const char* name, Int_t id, Int_t type)
                              TLeafElement(const TLeafElement&)
                      virtual ~TLeafElement()
               static TClass* Class()
                virtual Int_t GetLen() const
                virtual Int_t GetMaximum() const
                 TMethodCall* GetMethodCall(const char* name)
                virtual Int_t GetNdata() const
          virtual const char* GetTypeName() const
             virtual Double_t GetValue(Int_t i = 0) const
                virtual void* GetValuePointer() const
             virtual Double_t GetValueSubArray(Int_t i = 0, Int_t j = 0) const
              virtual TClass* IsA() const
               virtual Bool_t IsOnTerminalBranch() const
                TLeafElement& operator=(const TLeafElement&)
                 virtual void PrintValue(Int_t i = 0) const
                 virtual void SetLeafCount(TLeaf* leaf)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          char* fAbsAddress  ! Absolute leaf Address
          Int_t fID          element serial number in fInfo
          Int_t fType        leaf type

## Class Description

     A TLeaf for a general object derived from TObject.

TLeafElement(): TLeaf()

    *-*-*-*-*-*Default constructor for LeafObject*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*        =================================

TLeafElement(const char *name, Int_t id, Int_t type) :TLeaf(name,name)

    *-*-*-*-*-*-*-*-*-*-*-*-*Create a LeafObject*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                      ==================
    *-*

~TLeafElement()

    *-*-*-*-*-*Default destructor for a LeafObject*-*-*-*-*-*-*-*-*-*-*-*
    *-*        ==================================

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;
    *-*

Bool_t IsOnTerminalBranch() const

### Inline Functions

                    Int_t GetLen() const
                    Int_t GetMaximum() const
                    Int_t GetNdata() const
              const char* GetTypeName() const
                 Double_t GetValue(Int_t i = 0) const
                 Double_t GetValueSubArray(Int_t i = 0, Int_t j = 0) const
                    void* GetValuePointer() const
                     void PrintValue(Int_t i = 0) const
                     void SetLeafCount(TLeaf* leaf)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
             TLeafElement TLeafElement(const TLeafElement&)
            TLeafElement& operator=(const TLeafElement&)

Author: Rene Brun 14/01/2001
Last update: root/tree:$Name: $:$Id: TLeafElement.cxx,v 1.7 2002/12/02 18:50:08 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *