#include "hlinearcategory.h"

HLinearCategory


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

class HLinearCategory : public HCategory

Inheritance Chart:
TObject
<-
HCategory
<-
HLinearCategory

    public:
HLinearCategory() HLinearCategory(Text_t* className, Int_t size = 1000) HLinearCategory(const HLinearCategory&) ~HLinearCategory() virtual void activateBranch(TTree* tree, Int_t splitLevel) static TClass* Class() virtual void Clear(Option_t* opt) void Compress() virtual Bool_t filter(HFilter& aFilter) virtual Bool_t filter(HLocation& aLoc, HFilter& aFilter) void freeDynamicMemory() virtual TClass* getClass() virtual const Text_t* getClassName() const const TCollection* getCollection() const virtual Int_t getEntries() virtual Int_t getIndex(HLocation& aLoc) virtual Int_t getIndex(TObject* pObj) virtual TObject*& getNewSlot(HLocation& aLoc, Int_t* pIndex = 0) virtual TObject* getObject(HLocation& aLoc) virtual TObject* getObject(Int_t index) virtual TObject*& getSlot(HLocation& aLoc, Int_t* pIndex = 0) TObject*& getSlot(Int_t index) virtual TClass* IsA() const virtual Bool_t isSelfSplitable() virtual void makeBranch(TBranch* parent) virtual TIterator* MakeIterator(Option_t* opt = "catIter", Bool_t dir = kIterForward) HLinearCategory& operator=(const HLinearCategory&) void setDynamicObjects(Bool_t isDyn = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void sort() virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TClonesArray* fData Data array of the category Int_t fNDataObjs Bool_t hasDynamicObjects

Class Description

HLinearCategory. See HCategory

  The HLinearCategory is a kind of HCategory. This category is in fact a
 wrapper to a TClonesArray. Therefore it only supports locations with just
 one index. In order to use random access with getSlot(aLoc&), a Compress()
 of the category is needed before calling fillTree()  (otherwise crash!)

  As for the output, one single branch is created for all the data. As usual
 this branch will have one subbranch for each data members in the class of
 the data objects contained in the category.


HLinearCategory(void)

HLinearCategory(Text_t *className,Int_t size)

~HLinearCategory(void)

void setDynamicObjects(Bool_t isDyn)

const Text_t* getClassName(void)

void makeBranch(TBranch *parent)

void activateBranch(TTree *tree,Int_t splitLevel)

TObject*& getNewSlot(HLocation&,Int_t* pIndex)

TObject*& getSlot(HLocation &aLoc,Int_t* pIndex)
 needs Compress()

TObject*& getSlot(Int_t index)

TObject* getObject(HLocation &aLoc)

TObject* getObject(Int_t index)

Bool_t filter(HFilter &aFilter)

Bool_t filter(HLocation &aLoc,HFilter &aFilter)

void freeDynamicMemory()

void Clear(Option_t *opt)

TIterator* MakeIterator(Option_t *opt,Bool_t dir)

void Streamer(TBuffer &R__b)
 Stream an object of class HLinearCategory.



Inline Functions


                   TClass* getClass()
                     Int_t getEntries()
                      void Compress()
                    Bool_t isSelfSplitable()
                     Int_t getIndex(HLocation& aLoc)
                     Int_t getIndex(TObject* pObj)
                      void sort()
        const TCollection* getCollection() const
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void StreamerNVirtual(TBuffer& b)
           HLinearCategory HLinearCategory(const HLinearCategory&)
          HLinearCategory& operator=(const HLinearCategory&)


Author: Manuel Sanchez
Last update: 16/12/99 by R. Holzmann


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