38 #ifndef ROOT_TEntryListBlock
39 #define ROOT_TEntryListBlock
43 class TEntryListBlock:
public TObject
54 Int_t fLastIndexQueried;
55 Int_t fLastIndexReturned;
57 void Transform(Bool_t dir, UShort_t *indexnew);
61 enum { kBlockSize = 4000 };
63 TEntryListBlock(
const TEntryListBlock &eblock);
65 TEntryListBlock &operator=(
const TEntryListBlock &rhs);
67 Bool_t Enter(Int_t entry);
68 Bool_t Remove(Int_t entry);
69 Int_t Contains(Int_t entry);
70 void OptimizeStorage();
71 Int_t Merge(TEntryListBlock *block);
73 Int_t GetEntry(Int_t entry);
74 void ResetIndices() {fLastIndexQueried = -1, fLastIndexReturned = -1;}
75 Int_t GetType() {
return fType; }
77 virtual void Print(
const Option_t *option =
"")
const;
78 void PrintWithShift(Int_t shift)
const;
80 ClassDef(TEntryListBlock, 1)