TEntryListBlock Class Reference

#include <TEntryListBlock.h>

Inheritance diagram for TEntryListBlock:

TObject TObject List of all members.

Public Types

enum  
enum  

Public Member Functions

 TEntryListBlock ()
 TEntryListBlock (const TEntryListBlock &eblock)
 ~TEntryListBlock ()
Bool_t Enter (Int_t entry)
Bool_t Remove (Int_t entry)
Int_t Contains (Int_t entry)
void OptimizeStorage ()
Int_t Merge (TEntryListBlock *block)
Int_t Next ()
Int_t GetEntry (Int_t entry)
void ResetIndices ()
Int_t GetType ()
Int_t GetNPassed ()
virtual void Print (const Option_t *option="") const
void PrintWithShift (Int_t shift) const
 TEntryListBlock ()
 TEntryListBlock (const TEntryListBlock &eblock)
 ~TEntryListBlock ()
Bool_t Enter (Int_t entry)
Bool_t Remove (Int_t entry)
Int_t Contains (Int_t entry)
void OptimizeStorage ()
Int_t Merge (TEntryListBlock *block)
Int_t Next ()
Int_t GetEntry (Int_t entry)
void ResetIndices ()
Int_t GetType ()
Int_t GetNPassed ()
virtual void Print (const Option_t *option="") const
void PrintWithShift (Int_t shift) const

Protected Member Functions

void Transform (Bool_t dir, UShort_t *indexnew)
 to optimize GetEntry() in a loop
void Transform (Bool_t dir, UShort_t *indexnew)
 to optimize GetEntry() in a loop

Protected Attributes

Int_t fNPassed
Int_t fN
UShort_tfIndices
Int_t fType
Bool_t fPassing
UShort_t fCurrent
Int_t fLastIndexQueried
 to fasten Contains() in list mode
Int_t fLastIndexReturned
 to optimize GetEntry() in a loop
UShort_tfIndices

Detailed Description

Definition at line 45 of file TEntryListBlock.h.


Member Enumeration Documentation

anonymous enum

Definition at line 63 of file TEntryListBlock.h.

anonymous enum

Definition at line 63 of file TEntryListBlock.h.


Constructor & Destructor Documentation

TEntryListBlock::TEntryListBlock (  ) 

TEntryListBlock::TEntryListBlock ( const TEntryListBlock eblock  ) 

Definition at line 70 of file TEntryListBlock.cxx.

References fCurrent, fIndices, fLastIndexQueried, fLastIndexReturned, fN, fNPassed, fPassing, fType, and i.

TEntryListBlock::~TEntryListBlock (  ) 

Definition at line 93 of file TEntryListBlock.cxx.

References fIndices.

TEntryListBlock::TEntryListBlock (  ) 

TEntryListBlock::TEntryListBlock ( const TEntryListBlock eblock  ) 

TEntryListBlock::~TEntryListBlock (  ) 


Member Function Documentation

void TEntryListBlock::Transform ( Bool_t  dir,
UShort_t indexnew 
) [protected]

to optimize GetEntry() in a loop

Definition at line 539 of file TEntryListBlock.cxx.

References fIndices, fN, fPassing, fType, i, and result().

Referenced by Enter(), OptimizeStorage(), and Remove().

Bool_t TEntryListBlock::Enter ( Int_t  entry  ) 

Definition at line 103 of file TEntryListBlock.cxx.

References bits, TObject::Error(), fIndices, fNPassed, fType, i, j, kBlockSize, and Transform().

Referenced by TEntryList::Enter(), and Merge().

Bool_t TEntryListBlock::Remove ( Int_t  entry  ) 

Definition at line 140 of file TEntryListBlock.cxx.

References bits, TObject::Error(), fIndices, fNPassed, fType, i, j, kBlockSize, and Transform().

Referenced by TEntryList::Remove().

Int_t TEntryListBlock::Contains ( Int_t  entry  ) 

Definition at line 170 of file TEntryListBlock.cxx.

References TObject::Error(), fCurrent, fIndices, fNPassed, fPassing, fType, i, j, kBlockSize, kFALSE, kTRUE, and result().

Referenced by TEntryList::Contains(), Merge(), and Next().

void TEntryListBlock::OptimizeStorage (  ) 

Definition at line 523 of file TEntryListBlock.cxx.

References fPassing, fType, and Transform().

Referenced by TEntryList::Enter(), and TEntryList::OptimizeStorage().

Int_t TEntryListBlock::Merge ( TEntryListBlock block  ) 

Definition at line 218 of file TEntryListBlock.cxx.

References Contains(), Enter(), fCurrent, fIndices, fLastIndexQueried, fLastIndexReturned, fN, fNPassed, for(), fPassing, fType, GetNPassed(), i, j, and kBlockSize.

Referenced by TEntryList::Add().

Int_t TEntryListBlock::Next (  ) 

Definition at line 422 of file TEntryListBlock.cxx.

References Contains(), fIndices, fLastIndexQueried, fLastIndexReturned, fPassing, fType, GetNPassed(), i, j, and result().

Referenced by GetEntry(), and TEntryList::Next().

Int_t TEntryListBlock::GetEntry ( Int_t  entry  ) 

Definition at line 357 of file TEntryListBlock.cxx.

References fIndices, fLastIndexQueried, fLastIndexReturned, fPassing, fType, GetNPassed(), i, j, and Next().

Referenced by TEntryList::GetEntry().

void TEntryListBlock::ResetIndices (  )  [inline]

Definition at line 75 of file TEntryListBlock.h.

References fLastIndexQueried, and fLastIndexReturned.

Referenced by TEntryList::Add(), TEntryList::GetEntry(), TEntryList::Next(), and TEntryList::SetTree().

Int_t TEntryListBlock::GetType (  )  [inline]

Definition at line 76 of file TEntryListBlock.h.

References fType.

Int_t TEntryListBlock::GetNPassed (  ) 

Definition at line 345 of file TEntryListBlock.cxx.

References fPassing.

Referenced by TEntryList::Add(), GetEntry(), TEntryList::GetEntry(), Merge(), and Next().

void TEntryListBlock::Print ( const Option_t option = ""  )  const [virtual]

Definition at line 469 of file TEntryListBlock.cxx.

References TString::Contains(), PrintWithShift(), and TString::ToUpper().

void TEntryListBlock::PrintWithShift ( Int_t  shift  )  const

Definition at line 479 of file TEntryListBlock.cxx.

References fIndices, fPassing, fType, i, j, and result().

Referenced by Print().

void TEntryListBlock::Transform ( Bool_t  dir,
UShort_t indexnew 
) [protected]

to optimize GetEntry() in a loop

Bool_t TEntryListBlock::Enter ( Int_t  entry  ) 

Bool_t TEntryListBlock::Remove ( Int_t  entry  ) 

Int_t TEntryListBlock::Contains ( Int_t  entry  ) 

void TEntryListBlock::OptimizeStorage (  ) 

Int_t TEntryListBlock::Merge ( TEntryListBlock block  ) 

Int_t TEntryListBlock::Next (  ) 

Int_t TEntryListBlock::GetEntry ( Int_t  entry  ) 

void TEntryListBlock::ResetIndices (  )  [inline]

Definition at line 75 of file TEntryListBlock.h.

References fLastIndexQueried, and fLastIndexReturned.

Int_t TEntryListBlock::GetType (  )  [inline]

Definition at line 76 of file TEntryListBlock.h.

References fType.

Int_t TEntryListBlock::GetNPassed (  ) 

virtual void TEntryListBlock::Print ( const Option_t option = ""  )  const [virtual]

void TEntryListBlock::PrintWithShift ( Int_t  shift  )  const


Member Data Documentation

Int_t TEntryListBlock::fNPassed [protected]

Definition at line 48 of file TEntryListBlock.h.

Referenced by Contains(), Enter(), Merge(), Remove(), and TEntryListBlock().

Int_t TEntryListBlock::fN [protected]

Definition at line 50 of file TEntryListBlock.h.

Referenced by Merge(), TEntryListBlock(), and Transform().

UShort_t* TEntryListBlock::fIndices [protected]

Definition at line 51 of file TEntryListBlock.h.

Referenced by Contains(), Enter(), GetEntry(), Merge(), Next(), PrintWithShift(), Remove(), TEntryListBlock(), Transform(), and ~TEntryListBlock().

Int_t TEntryListBlock::fType [protected]

Definition at line 52 of file TEntryListBlock.h.

Referenced by Contains(), Enter(), GetEntry(), GetType(), Merge(), Next(), OptimizeStorage(), PrintWithShift(), Remove(), TEntryListBlock(), and Transform().

Bool_t TEntryListBlock::fPassing [protected]

Definition at line 53 of file TEntryListBlock.h.

Referenced by Contains(), GetEntry(), GetNPassed(), Merge(), Next(), OptimizeStorage(), PrintWithShift(), TEntryListBlock(), and Transform().

UShort_t TEntryListBlock::fCurrent [protected]

Definition at line 55 of file TEntryListBlock.h.

Referenced by Contains(), Merge(), and TEntryListBlock().

Int_t TEntryListBlock::fLastIndexQueried [protected]

to fasten Contains() in list mode

Definition at line 56 of file TEntryListBlock.h.

Referenced by GetEntry(), Merge(), Next(), ResetIndices(), and TEntryListBlock().

Int_t TEntryListBlock::fLastIndexReturned [protected]

to optimize GetEntry() in a loop

Definition at line 57 of file TEntryListBlock.h.

Referenced by GetEntry(), Merge(), Next(), ResetIndices(), and TEntryListBlock().

UShort_t* TEntryListBlock::fIndices [protected]

Definition at line 51 of file TEntryListBlock.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:36:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1