library: libTree #include "TLeafL.h"

# TLeafL

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

## class TLeafL : public TLeaf

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TLeaf`

<-

`TLeafL`

        public:

                              TLeafL()
                              TLeafL(const char* name, const char* type)
                              TLeafL(const TLeafL&)
                      virtual ~TLeafL()
               static TClass* Class()
                 virtual void Export(TClonesArray* list, Int_t n)
                 virtual void FillBasket(TBuffer& b)
                virtual Int_t GetMaximum() const
                virtual Int_t GetMinimum() const
          virtual const char* GetTypeName() const
             virtual Double_t GetValue(Int_t i = 0) const
                virtual void* GetValuePointer() const
                 virtual void Import(TClonesArray* list, Int_t n)
              virtual TClass* IsA() const
                      TLeafL& operator=(const TLeafL&)
                 virtual void PrintValue(Int_t i = 0) const
                 virtual void ReadBasket(TBuffer& b)
                 virtual void ReadBasketExport(TBuffer& b, TClonesArray* list, Int_t n)
                 virtual void ReadValue(ifstream& s)
                 virtual void SetAddress(void* add = 0)
                 virtual void SetMaximum(Long64_t max)
                 virtual void SetMinimum(Long64_t min)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

            Long64_t fMinimum  Minimum value if leaf range is specified
            Long64_t fMaximum  Maximum value if leaf range is specified
           Long64_t* fValue    !Pointer to data buffer
          Long64_t** fPointer  !Address of pointer to data buffer

## Class Description

     A TLeaf for a 64 bit Integer data type.

TLeafL(): TLeaf()

    *-*-*-*-*-*Default constructor for LeafI*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*        ============================

TLeafL(const char *name, const char *type) :TLeaf(name,type)

    *-*-*-*-*-*-*-*-*-*-*-*-*Create a LeafI*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                      ==============
    *-*

~TLeafL()

    *-*-*-*-*-*Default destructor for a LeafI*-*-*-*-*-*-*-*-*-*-*-*
    *-*        ===============================

void Export(TClonesArray *list, Int_t n)

    *-*-*-*-*-*Export element from local leaf buffer to ClonesArray*-*-*-*-*
    *-*        ======================================================

void FillBasket(TBuffer &b)

    *-*-*-*-*-*-*-*-*-*-*Pack leaf elements in Basket output buffer*-*-*-*-*-*-*
    *-*                  =========================================

const char* GetTypeName() const

    *-*-*-*-*-*-*-*Returns name of leaf type*-*-*-*-*-*-*-*-*-*-*-*
    *-*            =========================

Double_t GetValue(Int_t i) const

     Returns current value of leaf
     if leaf is a simple type, i must be set to 0
     if leaf is an array, i is the array element number to be returned

void Import(TClonesArray *list, Int_t n)

    *-*-*-*-*-*Import element from ClonesArray into local leaf buffer*-*-*-*-*
    *-*        ======================================================

void PrintValue(Int_t l) const

     Prints leaf value

void ReadBasket(TBuffer &b)

    *-*-*-*-*-*-*-*-*-*-*Read leaf elements from Basket input buffer*-*-*-*-*-*
    *-*                  ===========================================

void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n)

    *-*-*-*-*-*-*-*-*-*-*Read leaf elements from Basket input buffer*-*-*-*-*-*
      and export buffer to TClonesArray objects

void ReadValue(ifstream &s)

     read a long integer from ifstream s and store it into the branch buffer

void SetAddress(void *add)

    *-*-*-*-*-*-*-*-*-*-*Set leaf buffer data address*-*-*-*-*-*
    *-*                  ============================

### Inline Functions

                  Int_t GetMaximum() const
                  Int_t GetMinimum() const
                  void* GetValuePointer() const
                   void SetMaximum(Long64_t max)
                   void SetMinimum(Long64_t min)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                 TLeafL TLeafL(const TLeafL&)
                TLeafL& operator=(const TLeafL&)

Author: Rene Brun 12/01/96
Last update: root/tree:$Name: $:$Id: TLeafL.cxx,v 1.8 2004/10/19 19:35:52 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *