TLeafI


class description - source file - inheritance tree

class TLeafI : public TLeaf


    public:
TLeafI TLeafI() TLeafI TLeafI(const char* name, const char* type) TLeafI TLeafI(const TLeafI&) virtual void ~TLeafI() 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 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 SetAddress(void* add = 0) virtual void SetMaximum(Int_t max) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


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

Class Description

                                                                      
 A TLeaf for an Integer data type.                                    


TLeafI(): TLeaf()
*-*-*-*-*-*Default constructor for LeafI*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*        ============================

TLeafI(const char *name, const char *type) :TLeaf(name,type)
*-*-*-*-*-*-*-*-*-*-*-*-*Create a LeafI*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ==============
*-*

~TLeafI()
*-*-*-*-*-*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 SetAddress(void *add)
*-*-*-*-*-*-*-*-*-*-*Set leaf buffer data address*-*-*-*-*-*
*-*                  ============================



Inline Functions


              Int_t GetMaximum() const
              Int_t GetMinimum() const
              void* GetValuePointer() const
               void SetMaximum(Int_t max)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
             TLeafI TLeafI(const TLeafI&)


Author: Rene Brun 12/01/96
Last update: root/tree:$Name: $:$Id: TLeafI.cxx,v 1.15 2002/09/09 19:52:11 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.