library: libTree #include "TLeafO.h"

# TLeafO

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

## class TLeafO : public TLeaf

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

        public:

                              TLeafO()
                              TLeafO(const char* name, const char* type)
                              TLeafO(const TLeafO&)
                      virtual ~TLeafO()
               static TClass* Class()
                 virtual void Export(TClonesArray* list, Int_t n)
                 virtual void FillBasket(TBuffer& b)
          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
                      TLeafO& operator=(const TLeafO&)
                 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 ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

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

## Class Description

     A TLeaf for a bool data type.

TLeafO(): TLeaf()

    *-*-*-*-*-*Default constructor for LeafB*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*        ============================

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

    *-*-*-*-*-*-*-*-*-*-*-*-*Create a LeafB*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                      ==============
    *-*

~TLeafO()

    *-*-*-*-*-*Default destructor for a LeafB*-*-*-*-*-*-*-*-*-*-*-*
    *-*        ===============================

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

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 string from ifstream s and store it into the branch buffer

void SetAddress(void *add)

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

### Inline Functions

               Double_t GetValue(Int_t i = 0) const
                  void* GetValuePointer() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                 TLeafO TLeafO(const TLeafO&)
                TLeafO& operator=(const TLeafO&)

Author: Philippe Canal 20/1/05
Last update: root/tree:$Name: $:$Id: TLeafO.cxx,v 1.2 2005/02/11 18:40:09 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *