class description - source file - inheritance tree

class TLeaf : public TNamed

TLeaf TLeaf() TLeaf TLeaf(const char* name, const char* type) TLeaf TLeaf(TLeaf&) virtual void ~TLeaf() virtual void Browse(TBrowser* b) TClass* Class() virtual void Export(TClonesArray* list, Int_t n) virtual void FillBasket(TBuffer& b) TBranch* GetBranch() virtual TLeaf* GetLeafCount() virtual TLeaf* GetLeafCounter(Int_t& countval) virtual Int_t GetLen() const virtual Int_t GetLenStatic() virtual Int_t GetLenType() virtual Int_t GetMaximum() virtual Int_t GetMinimum() virtual Int_t GetNdata() virtual Int_t GetOffset() virtual const char* GetTypeName() const virtual Float_t GetValue(Int_t i = 0) virtual void* GetValuePointer() virtual void Import(TClonesArray* list, Int_t n) virtual TClass* IsA() const virtual Bool_t IsRange() virtual Bool_t IsUnsigned() virtual void ReadBasket(TBuffer&) virtual void ReadBasketExport(TBuffer&, TClonesArray*, Int_t) Int_t ResetAddress(void* add, Bool_t destructor = kFALSE) virtual void SetAddress(void* add = 0) virtual void SetBranch(TBranch* branch) virtual void SetLeafCount(TLeaf* leaf) virtual void SetLen(Int_t len = 1) virtual void SetOffset(Int_t offset = 0) virtual void SetRange(Bool_t range = kTRUE) virtual void SetUnsigned() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

Int_t fLen Number of fixed length elements Int_t fLenType Number of bytes for this data type Int_t fNdata Number of elements in fAddress data buffer Int_t fOffset Offset in ClonesArray object (if one) TLeaf* fLeafCount Pointer to Leaf count if variable length Bool_t fIsRange (=kTRUE if leaf has a range, kFALSE otherwise) Bool_t fIsUnsigned (=kTRUE if unsigned, kFALSE otherwise) TBranch* fBranch Pointer to supporting branch public:
static const enum TObject:: kNewValue

See also

TLeafB, TLeafC, TLeafD, TLeafF, TLeafI, TLeafObject, TLeafS

Class Description

 A TLeaf describes individual elements of a TBranch                   
       See TBranch structure in TTree.                                

TLeaf(): TNamed()
*-*-*-*-*-*Default constructor for Leaf*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*        ============================

TLeaf(const char *name, const char *) :TNamed(name,name)
*-*-*-*-*-*-*-*-*-*-*-*-*Create a Leaf*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =============

     See the TTree and TBranch constructors for explanation of parameters.

*-*-*-*-*-*Default destructor for a Leaf*-*-*-*-*-*-*-*-*-*-*-*
*-*        ===============================

void Browse(TBrowser *)

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

TLeaf* GetLeafCounter(Int_t &countval)
*-*-*-*-*-*-*Return Pointer to counter of referenced Leaf*-*-*-*-*-*-*-*
*-*          ============================================

  If leaf name has the forme var[nelem], where nelem is alphanumeric, then
     If nelem is a leaf name, return countval = 0 and the pointer to leaf.
  If leaf name has the forme var[nelem], where nelem is a digit, then
     return countval = nelemr and a null pointer.
  Otherwise return countval=1 and a null pointer.

Int_t GetLen() const
*-*-*-*-*-*-*-*-*Return the number of effective elements of this leaf*-*-*-*
*-*              ====================================================

Int_t ResetAddress(void *add, Bool_t destructor)
*-*-*-*-*-*-*-*-*-*-*Set leaf buffer data address*-*-*-*-*-*
*-*                  ============================

  This function is called by all TLeafX::SetAddress

void Streamer(TBuffer &b)
*-*-*-*-*-*-*-*-*Stream a class object*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*              =========================================

Inline Functions

               void Export(TClonesArray* list, Int_t n)
           TBranch* GetBranch()
             TLeaf* GetLeafCount()
              Int_t GetLenStatic()
              Int_t GetLenType()
              Int_t GetMaximum()
              Int_t GetMinimum()
              Int_t GetNdata()
              Int_t GetOffset()
              void* GetValuePointer()
        const char* GetTypeName() const
            Float_t GetValue(Int_t i = 0)
               void Import(TClonesArray* list, Int_t n)
             Bool_t IsRange()
             Bool_t IsUnsigned()
               void ReadBasket(TBuffer&)
               void ReadBasketExport(TBuffer&, TClonesArray*, Int_t)
               void SetAddress(void* add = 0)
               void SetBranch(TBranch* branch)
               void SetLeafCount(TLeaf* leaf)
               void SetLen(Int_t len = 1)
               void SetOffset(Int_t offset = 0)
               void SetRange(Bool_t range = kTRUE)
               void SetUnsigned()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
              TLeaf TLeaf(TLeaf&)

Author: Rene Brun 12/01/96
Last update: 2.23/12 26/01/2000 09.45.01 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *

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.