#include "hbarray.h"

HBArray


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

class HBArray : public TObject

Inheritance Chart:
TObject
<-
HBArray
    private:
UInt_t maxBytes() const UInt_t maxWords() const public:
HBArray() HBArray(UInt_t mlenght) HBArray(const HBArray&) virtual ~HBArray() UInt_t bcount(const size_t nsize) UInt_t bcount2(const size_t nsize) static TClass* Class() void clear(UInt_t pos) void clear() void complement(const size_t nsize) void dump() UInt_t** getData() Int_t* getDimensions() Int_t getEntries() Int_t getNBitSet(size_t upto) Int_t getNDim() Int_t getPosition(HLocation& aLoc) Int_t getSubLocation(HLocation* aLoc) Int_t getSubLocation(int* aLoc, int dim) Int_t getSubLocation(HLocatedDataObject* data) virtual TClass* IsA() const UInt_t lenght() HBArray& operator=(const HBArray&) Int_t operator[](UInt_t pos) void release() void set(UInt_t pos) void set() void set(HLocation& aLoc) void setCapacity(Int_t nword, Int_t nsplit) void setDimensions(Int_t nDim, Int_t* sizes) void setMod(int loc, int i) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void Streamer_sparse(TBuffer& R__b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
static Int_t nWords Number of Words contained in the bit-field static Int_t nSplit Split level choosen according the category setup static UInt_t** data Ptr array defining dynamic bit array static Int_t* modules Index table for each nodes static Int_t nDimensions Number of indexes static Int_t* lSizes Range of indexes UInt_t mBits ! static UInt_t bitPerWord ! UInt_t* dataCurrent ! Int_t offset ! static Int_t* indexes ! cache mode static Bool_t caching ! static Int_t init_count ! static Bool_t S_setup ! used for streamer 2 (sparse structure)

Class Description


HBArray(void)

HBArray(UInt_t lenght)

~HBArray(void)

void setDimensions(Int_t nDim,Int_t *sizes)

void setCapacity( Int_t nword, Int_t nsplit)

void set(UInt_t pos)
 set a bit to 1 at a position
 in the bit-field

void clear(UInt_t pos)
 clear a bit at a position

void set()
 set all bitfield with the cte BitSet

void clear()
 set all bitfield with the cte Byte BitNotSet

void dump(void)

Int_t getNBitSet ( size_t upto)
 Get the Number of bit set using internally
 a call to bcount()
 if the DataObject does not exit a negative
 value (-1) is returned

UInt_t bcount(const size_t nsize )
 Compute the number of 1 bits in the first 'size' elements
 using single lookup to the bit integer value.

void complement(const size_t nsize )

void release()

void Streamer(TBuffer & R__b)

void Streamer_sparse(TBuffer & R__b)
 alternative streamer function
 when using sparse data



Inline Functions


             UInt_t maxBytes() const
             UInt_t maxWords() const
             Int_t* getDimensions()
              Int_t getNDim()
              Int_t operator[](UInt_t pos)
             UInt_t lenght()
             UInt_t bcount2(const size_t nsize)
           UInt_t** getData()
              Int_t getEntries()
              Int_t getSubLocation(HLocation* aLoc)
              Int_t getSubLocation(int* aLoc, int dim)
              Int_t getSubLocation(HLocatedDataObject* data)
              Int_t getPosition(HLocation& aLoc)
               void set(HLocation& aLoc)
               void setMod(int loc, int i)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
            HBArray HBArray(const HBArray&)
           HBArray& operator=(const HBArray&)


Last update: Mon Feb 5 16:49:43 2007


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.