TBranchObject


class description - source file - inheritance tree

class TBranchObject : public TBranch


    public:
TBranchObject TBranchObject() TBranchObject TBranchObject(Text_t* name, Text_t* classname, void* addobj, Int_t basketsize = 32000, Int_t splitlevel = 0, Int_t compress = -1) TBranchObject TBranchObject(TBranchObject&) virtual void ~TBranchObject() virtual void Browse(TBrowser* b) TClass* Class() virtual Int_t Fill() virtual Int_t GetEntry(Int_t entry = 0) virtual TClass* IsA() virtual Bool_t IsFolder() virtual void Print(Option_t* option) virtual void Reset(Option_t* option) virtual void SetAddress(void* addobj) virtual void SetBasketSize(Int_t buffsize) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) virtual void UpdateAddress()

Data Members

protected:
TString fClassName Class name of referenced object TObject* fOldObject !Pointer to old object

Class Description

                                                                      
 TBranchObject                                                        
                                                                      
 A Branch for the case of an object                                   //                                                                      
                                                                      


TBranchObject(): TBranch()
*-*-*-*-*-*Default constructor for BranchObject*-*-*-*-*-*-*-*-*-*
*-*        ====================================

TBranchObject(const Text_t *name, const Text_t *classname, void *addobj, Int_t basketsize, Int_t splitlevel, Int_t compress) :TBranch()
*-*-*-*-*-*-*-*-*-*-*-*-*Create a BranchObject*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =====================


~TBranchObject()
*-*-*-*-*-*Default destructor for a BranchObject*-*-*-*-*-*-*-*-*-*-*-*
*-*        =====================================

void Browse(TBrowser *b)

Int_t Fill()
*-*-*-*-*-*-*-*Loop on all leaves of this branch to fill Basket buffer*-*-*
*-*            =======================================================

Int_t GetEntry(Int_t entry)
*-*-*-*-*Read all branches of a BranchObject and return total number of bytes
*-*      ====================================================================
   If entry = 0 take current entry number + 1
   If entry < 0 reset entry number to 0

Bool_t IsFolder()
*-*-*-*-*Return TRUE if more than one leaf, FALSE otherwise*-*
*-*      ==================================================

void Print(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*-*Print TBranch parameters*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                    ========================

void Reset(Option_t *option)
*-*-*-*-*-*-*-*Reset a Branch*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*            ====================

    Existing buffers are deleted
    Entries, max and min are reset


void SetAddress(void *add)
*-*-*-*-*-*-*-*Set address of this branch*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*            ====================


void SetBasketSize(Int_t buffsize)
*-*-*-*-*-*-*-*Reset basket size for all subbranches of this branchobject
*-*            ==========================================================


void UpdateAddress()
*-*-*-*-*-*-*-*Update branch addresses if a new object was created*-*-*
*-*            ===================================================




Inline Functions


              TClass* Class()
              TClass* IsA()
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
        TBranchObject TBranchObject(TBranchObject&)


Author: Rene Brun 11/02/96
Last update: 2.22/06 16/06/99 19.52.38 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.