#include "hordcategory.h"

HOrdCategory


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

class HOrdCategory : public HCompositeCategory

Inheritance Chart:
TObject
<-
HCategory
<-
HCompositeCategory
<-
HOrdCategory

    public:
HOrdCategory() HOrdCategory(Text_t* className, Int_t nentries, Int_t nDim, Int_t* sizes) HOrdCategory(const HOrdCategory&) ~HOrdCategory() virtual void activateBranch(TTree* tree, Int_t splitLevel) static TClass* Class() void Clear() void Compress() void copy(HLocation& loc1, HLocation& loc2) virtual Bool_t filter(HFilter& aFilter) virtual Bool_t filter(HLocation& aLoc, HFilter& aFilter) virtual TClass* getClass() virtual const Text_t* getClassName() const const TCollection* getCollection() const Int_t getCurrentLenght() Int_t getCurrentLinearAddr() Int_t getCurrentLinearLenght() Int_t getCurrentLinearOffset() Int_t getCurrentOffset() virtual Int_t getEntries() Int_t getEntries(HLocation& loc) virtual Int_t getIndex(HLocation& aLoc) virtual Int_t* getLenghts() HLocation* getLocation() virtual Int_t getMaxSize() virtual TArrayI getMaxSizes() Int_t getNDataObjects(HLocation& aLoc) virtual TObject*& getNewSlot(HLocation& aLoc, Int_t* pIndex = 0) Int_t getNLevels() virtual TObject* getObject(HLocation& aLoc) TObject* getObject(HLocation& aLoc, Int_t index) virtual TObject* getObject(Int_t index) virtual Int_t* getOffsets() virtual TObject*& getSlot(HLocation& aLoc, Int_t* pIndex = 0) TObject*& getSlot(Int_t index) virtual Int_t init() Int_t init(HLocation* loc) virtual TClass* IsA() const Bool_t isaComposite() virtual Bool_t isSelfSplitable() virtual void makeBranch(TBranch* parent) virtual TIterator* MakeIterator(Option_t* opt = "catIter", Bool_t dir = kIterForward) TIterator* MakeIterator(HLocation* loc, Option_t* opt = "catIter", Bool_t dir = kIterForward) Bool_t noSetup() HOrdCategory& operator=(const HOrdCategory&) void reSet(Int_t* arr) void setCapacity(Text_t* className, Int_t size, Int_t nDim, Int_t* sizes, Int_t flag = 1) void setCurrLinearAddr(int j) virtual void setLenghts(int loc, int val) virtual void setOffsets(int loc, int val) virtual void setPattern(int* off, int* len) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HOrdClonesArray* fData Data array of the category Int_t fNDataObjs Multiplicity /evts PatternSetup* setup pattern configuration HLocation location ! location object Int_t currentOffset ! current offset of subpattern in structure Int_t currentLenght ! current lenght of subpattern in structure Bool_t isComposite ! current status of HOrdCategory Int_t currentlinearAddr ! current linearAddress identifying the subPattern static Int_t init_count ! ref counter Int_t maxSize ! max sizes of indexes Bool_t isNotset ! setup flag

Class Description


HOrdCategory(void)

HOrdCategory(Text_t *className,Int_t nentries, Int_t nDim, Int_t *sizes)

void setCapacity(Text_t *className, Int_t size, Int_t nDim, Int_t *sizes,Int_t flag)

~HOrdCategory(void)

const Text_t* getClassName(void)

void makeBranch(TBranch *parent)

void activateBranch(TTree *tree,Int_t splitLevel)

TObject*& getNewSlot(HLocation& aLoc,Int_t* pIndex)
 return next sequential slot

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

TObject*& getSlot(Int_t index)
 needs Compress()
 bound check + expand if necessary

TObject* getObject(HLocation &aLoc)
 no bound check and use only aLoc[0]

TObject* getObject(Int_t index)
 no bound check

TObject* getObject(HLocation &aLoc, Int_t index)
 no bound check and use only aLoc[0]

Int_t getNDataObjects(HLocation &aLoc)

Bool_t filter(HFilter &aFilter)

Bool_t filter(HLocation &aLoc,HFilter &aFilter)

void Clear(void)

TIterator* MakeIterator(Option_t *opt,Bool_t dir)
 iterator aver all linear structure

TIterator* MakeIterator(HLocation *loc, Option_t *opt,Bool_t dir)

void Streamer(TBuffer &R__b)



Inline Functions


                   TClass* getClass()
                     Int_t getEntries()
                     Int_t getEntries(HLocation& loc)
                      void Compress()
                    Bool_t isSelfSplitable()
                     Int_t getIndex(HLocation& aLoc)
        const TCollection* getCollection() const
                     Int_t getCurrentOffset()
                     Int_t getCurrentLenght()
                     Int_t init()
                     Int_t init(HLocation* loc)
                    Int_t* getOffsets()
                    Int_t* getLenghts()
                     Int_t getNLevels()
                   TArrayI getMaxSizes()
                     Int_t getMaxSize()
                      void setLenghts(int loc, int val)
                      void setOffsets(int loc, int val)
                    Bool_t isaComposite()
                      void reSet(Int_t* arr)
                      void setPattern(int* off, int* len)
                      void setCurrLinearAddr(int j)
                     Int_t getCurrentLinearAddr()
                     Int_t getCurrentLinearOffset()
                     Int_t getCurrentLinearLenght()
                    Bool_t noSetup()
                      void copy(HLocation& loc1, HLocation& loc2)
                HLocation* getLocation()
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void StreamerNVirtual(TBuffer& b)
              HOrdCategory HOrdCategory(const HOrdCategory&)
             HOrdCategory& operator=(const HOrdCategory&)


Author: Denis Bertini
Last update: 20/09/00 by D. Bertini


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.