TTableSorter Class Reference

#include <TTableSorter.h>

Inheritance diagram for TTableSorter:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Member Functions

 TTableSorter ()
 TTableSorter (const TTable &table, TString &colName, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const TTable *table, TString &colName, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const TTable &table, SEARCHMETHOD search, COMPAREMETHOD compare, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const TTable *table, SEARCHMETHOD search, COMPAREMETHOD compare, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const Float_t *simpleArray, Int_t arraySize, Int_t firstRow=0, Int_t numberRows=0)
 TTableSorter (const Double_t *simpleArray, Int_t arraySize, Int_t firstRow=0, Int_t numberRows=0)
 TTableSorter (const Long_t *simpleArray, Int_t arraySize, Int_t firstRow=0, Int_t numberRows=0)
virtual ~TTableSorter ()
virtual Int_t CountKey (const void *key, Int_t firstIndx=0, Bool_t bSearch=kTRUE, Int_t *firstRow=0) const
virtual Int_t CountKeys () const
virtual Int_t FindFirstKey (const void *key) const
Int_t BinarySearch (Float_t value) const
Int_t BinarySearch (Int_t value) const
Int_t BinarySearch (ULong_t value) const
Int_t BinarySearch (Long_t value) const
Int_t BinarySearch (UInt_t value) const
Int_t BinarySearch (Short_t value) const
Int_t BinarySearch (Double_t value) const
Int_t BinarySearch (UShort_t value) const
Int_t BinarySearch (UChar_t value) const
Int_t BinarySearch (Char_t value) const
Int_t BinarySearch (Bool_t value) const
virtual const char * GetColumnName () const
Int_t GetIndex (UInt_t sortedIndex) const
virtual const void * GetKeyAddress (Int_t indx)
virtual Int_t GetLastFound () const
virtual const char * GetTableName () const
virtual const char * GetTableTitle () const
virtual const char * GetTableType () const
virtual TTableGetTable () const
virtual Int_t GetNRows () const
virtual Int_t GetFirstRow () const
Int_t operator[] (Int_t value) const
Int_t operator[] (Long_t value) const
Int_t operator[] (Double_t value) const
Int_t operator[] (void *value) const
Int_t operator() (Float_t value)
Int_t operator() (Int_t value)
Int_t operator() (Long_t value)
Int_t operator() (Double_t value)
 TTableSorter ()
 TTableSorter (const TTable &table, TString &colName, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const TTable *table, TString &colName, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const TTable &table, SEARCHMETHOD search, COMPAREMETHOD compare, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const TTable *table, SEARCHMETHOD search, COMPAREMETHOD compare, Int_t firstRow=0, Int_t numbeRows=0)
 TTableSorter (const Float_t *simpleArray, Int_t arraySize, Int_t firstRow=0, Int_t numberRows=0)
 TTableSorter (const Double_t *simpleArray, Int_t arraySize, Int_t firstRow=0, Int_t numberRows=0)
 TTableSorter (const Long_t *simpleArray, Int_t arraySize, Int_t firstRow=0, Int_t numberRows=0)
virtual ~TTableSorter ()
virtual Int_t CountKey (const void *key, Int_t firstIndx=0, Bool_t bSearch=kTRUE, Int_t *firstRow=0) const
virtual Int_t CountKeys () const
virtual Int_t FindFirstKey (const void *key) const
Int_t BinarySearch (Float_t value) const
Int_t BinarySearch (Int_t value) const
Int_t BinarySearch (ULong_t value) const
Int_t BinarySearch (Long_t value) const
Int_t BinarySearch (UInt_t value) const
Int_t BinarySearch (Short_t value) const
Int_t BinarySearch (Double_t value) const
Int_t BinarySearch (UShort_t value) const
Int_t BinarySearch (UChar_t value) const
Int_t BinarySearch (Char_t value) const
Int_t BinarySearch (Bool_t value) const
virtual const char * GetColumnName () const
Int_t GetIndex (UInt_t sortedIndex) const
virtual const void * GetKeyAddress (Int_t indx)
virtual Int_t GetLastFound () const
virtual const char * GetTableName () const
virtual const char * GetTableTitle () const
virtual const char * GetTableType () const
virtual TTableGetTable () const
virtual Int_t GetNRows () const
virtual Int_t GetFirstRow () const
Int_t operator[] (Int_t value) const
Int_t operator[] (Long_t value) const
Int_t operator[] (Double_t value) const
Int_t operator[] (void *value) const
Int_t operator() (Float_t value)
Int_t operator() (Int_t value)
Int_t operator() (Long_t value)
Int_t operator() (Double_t value)

Protected Member Functions

Int_t BSearch (const void *value) const
Int_t BSearch (Float_t value) const
Int_t BSearch (Int_t value) const
Int_t BSearch (ULong_t value) const
Int_t BSearch (Long_t value) const
Int_t BSearch (UInt_t value) const
Int_t BSearch (Short_t value) const
Int_t BSearch (Double_t value) const
Int_t BSearch (UShort_t value) const
Int_t BSearch (UChar_t value) const
Int_t BSearch (Char_t value) const
Int_t BSearch (Bool_t value) const
Bool_t FillIndexArray ()
Long_t GetRowSize ()
void QSort ()
void LearnTable ()
Int_t SelectSearch (Float_t value) const
Int_t SelectSearch (Int_t value) const
Int_t SelectSearch (ULong_t value) const
Int_t SelectSearch (Long_t value) const
Int_t SelectSearch (UInt_t value) const
Int_t SelectSearch (Short_t value) const
Int_t SelectSearch (Double_t value) const
Int_t SelectSearch (UShort_t value) const
Int_t SelectSearch (UChar_t value) const
Int_t SelectSearch (Char_t value) const
Int_t SelectSearch (Bool_t value) const
void SetSearchMethod ()
void SetSimpleArray (Int_t arraySize, Int_t firstRow, Int_t numberRows)
void BuildSorter (TString &colName, Int_t firstRow, Int_t numberRows)
const char * At (Int_t i) const
Int_t BSearch (const void *value) const
Int_t BSearch (Float_t value) const
Int_t BSearch (Int_t value) const
Int_t BSearch (ULong_t value) const
Int_t BSearch (Long_t value) const
Int_t BSearch (UInt_t value) const
Int_t BSearch (Short_t value) const
Int_t BSearch (Double_t value) const
Int_t BSearch (UShort_t value) const
Int_t BSearch (UChar_t value) const
Int_t BSearch (Char_t value) const
Int_t BSearch (Bool_t value) const
Bool_t FillIndexArray ()
Long_t GetRowSize ()
void QSort ()
void LearnTable ()
Int_t SelectSearch (Float_t value) const
Int_t SelectSearch (Int_t value) const
Int_t SelectSearch (ULong_t value) const
Int_t SelectSearch (Long_t value) const
Int_t SelectSearch (UInt_t value) const
Int_t SelectSearch (Short_t value) const
Int_t SelectSearch (Double_t value) const
Int_t SelectSearch (UShort_t value) const
Int_t SelectSearch (UChar_t value) const
Int_t SelectSearch (Char_t value) const
Int_t SelectSearch (Bool_t value) const
void SetSearchMethod ()
void SetSimpleArray (Int_t arraySize, Int_t firstRow, Int_t numberRows)
void BuildSorter (TString &colName, Int_t firstRow, Int_t numberRows)
const char * At (Int_t i) const

Static Protected Member Functions

static int CompareFloat_t (const void **, const void **)
 pointer to the internal array of TTable object;
static int CompareInt_t (const void **, const void **)
static int CompareLong_t (const void **, const void **)
static int CompareULong_t (const void **, const void **)
static int CompareUInt_t (const void **, const void **)
static int CompareShort_t (const void **, const void **)
static int CompareDouble_t (const void **, const void **)
static int CompareUShort_t (const void **, const void **)
static int CompareUChar_t (const void **, const void **)
static int CompareChar_t (const void **, const void **)
static int CompareBool_t (const void **, const void **)
static int SearchFloat_t (const void *, const void **)
static int SearchInt_t (const void *, const void **)
static int SearchULong_t (const void *, const void **)
static int SearchLong_t (const void *, const void **)
static int SearchUInt_t (const void *, const void **)
static int SearchShort_t (const void *, const void **)
static int SearchDouble_t (const void *, const void **)
static int SearchUShort_t (const void *, const void **)
static int SearchUChar_t (const void *, const void **)
static int SearchChar_t (const void *, const void **)
static int SearchBool_t (const void *, const void **)
static int CompareFloat_t (const void **, const void **)
 pointer to the internal array of TTable object;
static int CompareInt_t (const void **, const void **)
static int CompareLong_t (const void **, const void **)
static int CompareULong_t (const void **, const void **)
static int CompareUInt_t (const void **, const void **)
static int CompareShort_t (const void **, const void **)
static int CompareDouble_t (const void **, const void **)
static int CompareUShort_t (const void **, const void **)
static int CompareUChar_t (const void **, const void **)
static int CompareChar_t (const void **, const void **)
static int CompareBool_t (const void **, const void **)
static int SearchFloat_t (const void *, const void **)
static int SearchInt_t (const void *, const void **)
static int SearchULong_t (const void *, const void **)
static int SearchLong_t (const void *, const void **)
static int SearchUInt_t (const void *, const void **)
static int SearchShort_t (const void *, const void **)
static int SearchDouble_t (const void *, const void **)
static int SearchUShort_t (const void *, const void **)
static int SearchUChar_t (const void *, const void **)
static int SearchChar_t (const void *, const void **)
static int SearchBool_t (const void *, const void **)

Protected Attributes

void ** fSortIndex
Int_t fLastFound
Int_t fFirstRow
Int_t fNumberOfRows
TString fColName
Int_t fColOffset
Int_t fColSize
Int_tfIndexArray
Int_t fColDimensions
const Char_tfsimpleArray
const TTablefParentTable
SEARCHMETHOD fSearchMethod
 
  • the back pointer to the sorted table

COMPAREMETHOD fCompareMethod
TTable::EColumnType fColType
Long_t fParentRowSize
const char * fFirstParentRow
void ** fSortIndex
Int_tfIndexArray
const Char_tfsimpleArray
const TTablefParentTable
const char * fFirstParentRow

Private Attributes

union {
   Char_t   fChar
   Int_t   fInt
   Long_t   fLong
   Float_t   fFloat
   Double_t   fDouble
fValue
union {
   Char_t   fChar
   Int_t   fInt
   Long_t   fLong
   Float_t   fFloat
   Double_t   fDouble
fValue

Detailed Description

Definition at line 46 of file TTableSorter.h.


Constructor & Destructor Documentation

TTableSorter::TTableSorter (  ) 

TTableSorter::TTableSorter ( const TTable table,
TString colName,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

Definition at line 106 of file TTableSorter.cxx.

References BuildSorter(), fCompareMethod, and fSearchMethod.

TTableSorter::TTableSorter ( const TTable table,
TString colName,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

Definition at line 127 of file TTableSorter.cxx.

References BuildSorter(), fCompareMethod, and fSearchMethod.

TTableSorter::TTableSorter ( const TTable table,
SEARCHMETHOD  search,
COMPAREMETHOD  compare,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

Definition at line 147 of file TTableSorter.cxx.

References BuildSorter(), fCompareMethod, and fSearchMethod.

TTableSorter::TTableSorter ( const TTable table,
SEARCHMETHOD  search,
COMPAREMETHOD  compare,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

Definition at line 174 of file TTableSorter.cxx.

References BuildSorter(), fCompareMethod, and fSearchMethod.

TTableSorter::TTableSorter ( const Float_t simpleArray,
Int_t  arraySize,
Int_t  firstRow = 0,
Int_t  numberRows = 0 
)

Definition at line 290 of file TTableSorter.cxx.

References fColName, fColSize, fColType, fFirstRow, fLastFound, fNumberOfRows, fParentRowSize, fsimpleArray, fSortIndex, i, kFALSE, TTable::kFloat, kTRUE, TObject::MakeZombie(), p, QSort(), SetSearchMethod(), and SetSimpleArray().

TTableSorter::TTableSorter ( const Double_t simpleArray,
Int_t  arraySize,
Int_t  firstRow = 0,
Int_t  numberRows = 0 
)

Definition at line 334 of file TTableSorter.cxx.

References fColName, fColSize, fColType, fFirstRow, fLastFound, fNumberOfRows, fParentRowSize, fsimpleArray, fSortIndex, i, TTable::kDouble, kFALSE, kTRUE, TObject::MakeZombie(), p, QSort(), SetSearchMethod(), and SetSimpleArray().

TTableSorter::TTableSorter ( const Long_t simpleArray,
Int_t  arraySize,
Int_t  firstRow = 0,
Int_t  numberRows = 0 
)

Definition at line 378 of file TTableSorter.cxx.

References fColName, fColSize, fColType, fFirstRow, fLastFound, fNumberOfRows, fParentRowSize, fSortIndex, i, kFALSE, TTable::kLong, kTRUE, TObject::MakeZombie(), p, QSort(), SetSearchMethod(), and SetSimpleArray().

TTableSorter::~TTableSorter (  )  [virtual]

Definition at line 445 of file TTableSorter.cxx.

References fNumberOfRows, and fSortIndex.

TTableSorter::TTableSorter (  ) 

TTableSorter::TTableSorter ( const TTable table,
TString colName,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

TTableSorter::TTableSorter ( const TTable table,
TString colName,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

TTableSorter::TTableSorter ( const TTable table,
SEARCHMETHOD  search,
COMPAREMETHOD  compare,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

TTableSorter::TTableSorter ( const TTable table,
SEARCHMETHOD  search,
COMPAREMETHOD  compare,
Int_t  firstRow = 0,
Int_t  numbeRows = 0 
)

TTableSorter::TTableSorter ( const Float_t simpleArray,
Int_t  arraySize,
Int_t  firstRow = 0,
Int_t  numberRows = 0 
)

TTableSorter::TTableSorter ( const Double_t simpleArray,
Int_t  arraySize,
Int_t  firstRow = 0,
Int_t  numberRows = 0 
)

TTableSorter::TTableSorter ( const Long_t simpleArray,
Int_t  arraySize,
Int_t  firstRow = 0,
Int_t  numberRows = 0 
)

virtual TTableSorter::~TTableSorter (  )  [virtual]


Member Function Documentation

static int TTableSorter::CompareFloat_t ( const void **  ,
const void **   
) [static, protected]

pointer to the internal array of TTable object;

static int TTableSorter::CompareInt_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareLong_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareULong_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareUInt_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareShort_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareDouble_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareUShort_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareUChar_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareChar_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareBool_t ( const void **  ,
const void **   
) [static, protected]

Int_t TTableSorter::BSearch ( const void *  value  )  const [protected]

Definition at line 608 of file TTableSorter.cxx.

References At(), fColOffset, fColSize, fFirstRow, fNumberOfRows, fParentRowSize, fSearchMethod, fsimpleArray, fSortIndex, and p.

Referenced by FindFirstKey(), and operator[]().

Int_t TTableSorter::BSearch ( Float_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Int_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( ULong_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Long_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( UInt_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Short_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Double_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( UShort_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( UChar_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Char_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Bool_t  value  )  const [protected]

Bool_t TTableSorter::FillIndexArray (  )  [protected]

Definition at line 727 of file TTableSorter.cxx.

References At(), fColOffset, fCompareMethod, fFirstRow, fNumberOfRows, fParentRowSize, fSortIndex, i, kFALSE, kTRUE, ptr, and row.

Referenced by BuildSorter().

Long_t TTableSorter::GetRowSize (  )  [inline, protected]

Definition at line 196 of file TTableSorter.h.

References fParentRowSize.

void TTableSorter::QSort (  )  [protected]

Definition at line 862 of file TTableSorter.cxx.

References fCompareMethod, fNumberOfRows, and fSortIndex.

Referenced by BuildSorter(), and TTableSorter().

void TTableSorter::LearnTable (  )  [protected]

Definition at line 873 of file TTableSorter.cxx.

References TClass::BuildRealData(), TString::Data(), TObject::Error(), fColDimensions, fColName, fColOffset, fColSize, fColType, fIndexArray, fParentTable, TClass::GetListOfDataMembers(), TClass::GetListOfRealData(), TClass::GetNdata(), TTable::GetRowClass(), TDataType::GetTypeName(), TTable::kBool, TTable::kChar, TTable::kDouble, TTable::kFloat, TTable::kInt, TTable::kLong, TTable::kNAN, TTable::kShort, TTable::kUChar, TTable::kUInt, TTable::kULong, TTable::kUShort, TNamed::SetTitle(), TDataType::Size(), and t.

Referenced by BuildSorter().

static int TTableSorter::SearchFloat_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchInt_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchULong_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchLong_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchUInt_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchShort_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchDouble_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchUShort_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchUChar_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchChar_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchBool_t ( const void *  ,
const void **   
) [static, protected]

Int_t TTableSorter::SelectSearch ( Float_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Int_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( ULong_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Long_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( UInt_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Short_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Double_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( UShort_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( UChar_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Char_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Bool_t  value  )  const [protected]

void TTableSorter::SetSearchMethod (  )  [protected]

Definition at line 805 of file TTableSorter.cxx.

References COMPAREORDER, fColType, fCompareMethod, fSearchMethod, TTable::kBool, TTable::kChar, TTable::kDouble, TTable::kFloat, TTable::kInt, TTable::kLong, TTable::kShort, TTable::kUChar, TTable::kUInt, TTable::kULong, TTable::kUShort, and SEARCHORDER.

Referenced by BuildSorter(), and TTableSorter().

void TTableSorter::SetSimpleArray ( Int_t  arraySize,
Int_t  firstRow,
Int_t  numberRows 
) [protected]

Definition at line 422 of file TTableSorter.cxx.

References fColDimensions, fColOffset, fFirstRow, fIndexArray, fNumberOfRows, fSearchMethod, fSortIndex, TMath::Min(), and TNamed::SetName().

Referenced by TTableSorter().

void TTableSorter::BuildSorter ( TString colName,
Int_t  firstRow,
Int_t  numberRows 
) [protected]

Definition at line 203 of file TTableSorter.cxx.

References TString::Data(), TObject::Error(), fColDimensions, fColName, fColOffset, fColType, fFirstParentRow, fFirstRow, FillIndexArray(), fIndexArray, fLastFound, fNumberOfRows, fParentRowSize, fParentTable, fsimpleArray, fSortIndex, TTable::GetArray(), TNamed::GetName(), TTable::GetNRows(), TTable::GetRowSize(), i, TTable::kNAN, LearnTable(), TObject::MakeZombie(), TMath::Min(), n, name, QSort(), TNamed::SetName(), SetSearchMethod(), and StrDup().

Referenced by TTableSorter().

const char * TTableSorter::At ( Int_t  i  )  const [inline, protected]

Definition at line 195 of file TTableSorter.h.

References fFirstParentRow, and fParentRowSize.

Referenced by BSearch(), FillIndexArray(), and GetIndex().

Int_t TTableSorter::CountKey ( const void *  key,
Int_t  firstIndx = 0,
Bool_t  bSearch = kTRUE,
Int_t firstRow = 0 
) const [virtual]

Definition at line 672 of file TTableSorter.cxx.

References FindFirstKey(), fSearchMethod, fSortIndex, GetLastFound(), GetNRows(), and TMath::Max().

Referenced by TTableIter::CountKey(), CountKeys(), and TTablePoints::TTablePoints().

Int_t TTableSorter::CountKeys (  )  const [virtual]

Definition at line 708 of file TTableSorter.cxx.

References CountKey(), fSortIndex, GetNRows(), and kFALSE.

Int_t TTableSorter::FindFirstKey ( const void *  key  )  const [virtual]

Definition at line 751 of file TTableSorter.cxx.

References BSearch(), fSearchMethod, fSortIndex, and GetLastFound().

Referenced by CountKey().

Int_t TTableSorter::BinarySearch ( Float_t  value  )  const

Referenced by operator()().

Int_t TTableSorter::BinarySearch ( Int_t  value  )  const

Int_t TTableSorter::BinarySearch ( ULong_t  value  )  const

Int_t TTableSorter::BinarySearch ( Long_t  value  )  const

Int_t TTableSorter::BinarySearch ( UInt_t  value  )  const

Int_t TTableSorter::BinarySearch ( Short_t  value  )  const

Int_t TTableSorter::BinarySearch ( Double_t  value  )  const

Int_t TTableSorter::BinarySearch ( UShort_t  value  )  const

Int_t TTableSorter::BinarySearch ( UChar_t  value  )  const

Int_t TTableSorter::BinarySearch ( Char_t  value  )  const

Int_t TTableSorter::BinarySearch ( Bool_t  value  )  const

virtual const char* TTableSorter::GetColumnName (  )  const [inline, virtual]

Definition at line 167 of file TTableSorter.h.

References TString::Data(), and fColName.

Int_t TTableSorter::GetIndex ( UInt_t  sortedIndex  )  const

Definition at line 633 of file TTableSorter.cxx.

References At(), fColOffset, fColSize, fFirstRow, fNumberOfRows, fParentRowSize, fsimpleArray, fSortIndex, and p.

Referenced by TTablePoints::Indx(), and TTableIter::Next().

virtual const void* TTableSorter::GetKeyAddress ( Int_t  indx  )  [inline, virtual]

Definition at line 169 of file TTableSorter.h.

References fSortIndex.

Referenced by TTablePoints::TTablePoints().

virtual Int_t TTableSorter::GetLastFound (  )  const [inline, virtual]

Definition at line 170 of file TTableSorter.h.

References fLastFound.

Referenced by CountKey(), and FindFirstKey().

const char * TTableSorter::GetTableName (  )  const [virtual]

Definition at line 777 of file TTableSorter.cxx.

References fParentTable, and TNamed::GetName().

const char * TTableSorter::GetTableTitle (  )  const [virtual]

Definition at line 784 of file TTableSorter.cxx.

References fParentTable, and TNamed::GetTitle().

const char * TTableSorter::GetTableType (  )  const [virtual]

Definition at line 791 of file TTableSorter.cxx.

References fParentTable, and TTable::GetType().

TTable * TTableSorter::GetTable (  )  const [virtual]

Definition at line 798 of file TTableSorter.cxx.

References fParentTable.

Referenced by TTable3Points::GetAnyPoint(), TTablePoints::GetTable(), and TTable3Points::SetAnyColumn().

virtual Int_t TTableSorter::GetNRows (  )  const [inline, virtual]

Definition at line 175 of file TTableSorter.h.

References fNumberOfRows.

Referenced by CountKey(), and CountKeys().

virtual Int_t TTableSorter::GetFirstRow (  )  const [inline, virtual]

Definition at line 176 of file TTableSorter.h.

References fFirstRow.

Int_t TTableSorter::operator[] ( Int_t  value  )  const [inline]

Definition at line 198 of file TTableSorter.h.

References BSearch().

Int_t TTableSorter::operator[] ( Long_t  value  )  const [inline]

Definition at line 199 of file TTableSorter.h.

References BSearch().

Int_t TTableSorter::operator[] ( Double_t  value  )  const [inline]

Definition at line 200 of file TTableSorter.h.

References BSearch().

Int_t TTableSorter::operator[] ( void *  value  )  const [inline]

Definition at line 201 of file TTableSorter.h.

References BSearch().

Int_t TTableSorter::operator() ( Float_t  value  )  [inline]

Definition at line 203 of file TTableSorter.h.

References BinarySearch().

Int_t TTableSorter::operator() ( Int_t  value  )  [inline]

Definition at line 204 of file TTableSorter.h.

References BinarySearch().

Int_t TTableSorter::operator() ( Long_t  value  )  [inline]

Definition at line 205 of file TTableSorter.h.

References BinarySearch().

Int_t TTableSorter::operator() ( Double_t  value  )  [inline]

Definition at line 206 of file TTableSorter.h.

References BinarySearch().

static int TTableSorter::CompareFloat_t ( const void **  ,
const void **   
) [static, protected]

pointer to the internal array of TTable object;

static int TTableSorter::CompareInt_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareLong_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareULong_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareUInt_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareShort_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareDouble_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareUShort_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareUChar_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareChar_t ( const void **  ,
const void **   
) [static, protected]

static int TTableSorter::CompareBool_t ( const void **  ,
const void **   
) [static, protected]

Int_t TTableSorter::BSearch ( const void *  value  )  const [protected]

Int_t TTableSorter::BSearch ( Float_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Int_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( ULong_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Long_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( UInt_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Short_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Double_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( UShort_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( UChar_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Char_t  value  )  const [protected]

Int_t TTableSorter::BSearch ( Bool_t  value  )  const [protected]

Bool_t TTableSorter::FillIndexArray (  )  [protected]

Long_t TTableSorter::GetRowSize (  )  [protected]

void TTableSorter::QSort (  )  [protected]

void TTableSorter::LearnTable (  )  [protected]

static int TTableSorter::SearchFloat_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchInt_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchULong_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchLong_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchUInt_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchShort_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchDouble_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchUShort_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchUChar_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchChar_t ( const void *  ,
const void **   
) [static, protected]

static int TTableSorter::SearchBool_t ( const void *  ,
const void **   
) [static, protected]

Int_t TTableSorter::SelectSearch ( Float_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Int_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( ULong_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Long_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( UInt_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Short_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Double_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( UShort_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( UChar_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Char_t  value  )  const [protected]

Int_t TTableSorter::SelectSearch ( Bool_t  value  )  const [protected]

void TTableSorter::SetSearchMethod (  )  [protected]

void TTableSorter::SetSimpleArray ( Int_t  arraySize,
Int_t  firstRow,
Int_t  numberRows 
) [protected]

void TTableSorter::BuildSorter ( TString colName,
Int_t  firstRow,
Int_t  numberRows 
) [protected]

const char* TTableSorter::At ( Int_t  i  )  const [protected]

virtual Int_t TTableSorter::CountKey ( const void *  key,
Int_t  firstIndx = 0,
Bool_t  bSearch = kTRUE,
Int_t firstRow = 0 
) const [virtual]

virtual Int_t TTableSorter::CountKeys (  )  const [virtual]

virtual Int_t TTableSorter::FindFirstKey ( const void *  key  )  const [virtual]

Int_t TTableSorter::BinarySearch ( Float_t  value  )  const

Int_t TTableSorter::BinarySearch ( Int_t  value  )  const

Int_t TTableSorter::BinarySearch ( ULong_t  value  )  const

Int_t TTableSorter::BinarySearch ( Long_t  value  )  const

Int_t TTableSorter::BinarySearch ( UInt_t  value  )  const

Int_t TTableSorter::BinarySearch ( Short_t  value  )  const

Int_t TTableSorter::BinarySearch ( Double_t  value  )  const

Int_t TTableSorter::BinarySearch ( UShort_t  value  )  const

Int_t TTableSorter::BinarySearch ( UChar_t  value  )  const

Int_t TTableSorter::BinarySearch ( Char_t  value  )  const

Int_t TTableSorter::BinarySearch ( Bool_t  value  )  const

virtual const char* TTableSorter::GetColumnName (  )  const [inline, virtual]

Definition at line 167 of file TTableSorter.h.

References TString::Data(), and fColName.

Int_t TTableSorter::GetIndex ( UInt_t  sortedIndex  )  const

virtual const void* TTableSorter::GetKeyAddress ( Int_t  indx  )  [inline, virtual]

Definition at line 169 of file TTableSorter.h.

References fSortIndex.

virtual Int_t TTableSorter::GetLastFound (  )  const [inline, virtual]

Definition at line 170 of file TTableSorter.h.

References fLastFound.

virtual const char* TTableSorter::GetTableName (  )  const [virtual]

virtual const char* TTableSorter::GetTableTitle (  )  const [virtual]

virtual const char* TTableSorter::GetTableType (  )  const [virtual]

virtual TTable* TTableSorter::GetTable (  )  const [virtual]

virtual Int_t TTableSorter::GetNRows (  )  const [inline, virtual]

Definition at line 175 of file TTableSorter.h.

References fNumberOfRows.

virtual Int_t TTableSorter::GetFirstRow (  )  const [inline, virtual]

Definition at line 176 of file TTableSorter.h.

References fFirstRow.

Int_t TTableSorter::operator[] ( Int_t  value  )  const

Int_t TTableSorter::operator[] ( Long_t  value  )  const

Int_t TTableSorter::operator[] ( Double_t  value  )  const

Int_t TTableSorter::operator[] ( void *  value  )  const

Int_t TTableSorter::operator() ( Float_t  value  ) 

Int_t TTableSorter::operator() ( Int_t  value  ) 

Int_t TTableSorter::operator() ( Long_t  value  ) 

Int_t TTableSorter::operator() ( Double_t  value  ) 


Member Data Documentation

Char_t TTableSorter::fChar [private]

Definition at line 48 of file TTableSorter.h.

Int_t TTableSorter::fInt [private]

Definition at line 49 of file TTableSorter.h.

Long_t TTableSorter::fLong [private]

Definition at line 50 of file TTableSorter.h.

Float_t TTableSorter::fFloat [private]

Definition at line 51 of file TTableSorter.h.

Double_t TTableSorter::fDouble [private]

Definition at line 52 of file TTableSorter.h.

union { ... } TTableSorter::fValue [private]

void** TTableSorter::fSortIndex [protected]

Definition at line 58 of file TTableSorter.h.

Referenced by BSearch(), BuildSorter(), CountKey(), CountKeys(), FillIndexArray(), FindFirstKey(), GetIndex(), GetKeyAddress(), QSort(), SetSimpleArray(), TTableSorter(), and ~TTableSorter().

Int_t TTableSorter::fLastFound [protected]

Definition at line 59 of file TTableSorter.h.

Referenced by BuildSorter(), GetLastFound(), and TTableSorter().

Int_t TTableSorter::fFirstRow [protected]

Definition at line 60 of file TTableSorter.h.

Referenced by BSearch(), BuildSorter(), FillIndexArray(), GetFirstRow(), GetIndex(), SetSimpleArray(), and TTableSorter().

Int_t TTableSorter::fNumberOfRows [protected]

Definition at line 61 of file TTableSorter.h.

Referenced by BSearch(), BuildSorter(), FillIndexArray(), GetIndex(), GetNRows(), QSort(), SetSimpleArray(), TTableSorter(), and ~TTableSorter().

TString TTableSorter::fColName [protected]

Definition at line 62 of file TTableSorter.h.

Referenced by BuildSorter(), GetColumnName(), LearnTable(), and TTableSorter().

Int_t TTableSorter::fColOffset [protected]

Definition at line 63 of file TTableSorter.h.

Referenced by BSearch(), BuildSorter(), FillIndexArray(), GetIndex(), LearnTable(), and SetSimpleArray().

Int_t TTableSorter::fColSize [protected]

Definition at line 64 of file TTableSorter.h.

Referenced by BSearch(), GetIndex(), LearnTable(), and TTableSorter().

Int_t* TTableSorter::fIndexArray [protected]

Definition at line 65 of file TTableSorter.h.

Referenced by BuildSorter(), LearnTable(), and SetSimpleArray().

Int_t TTableSorter::fColDimensions [protected]

Definition at line 66 of file TTableSorter.h.

Referenced by BuildSorter(), LearnTable(), and SetSimpleArray().

const Char_t* TTableSorter::fsimpleArray [protected]

Definition at line 67 of file TTableSorter.h.

Referenced by BSearch(), BuildSorter(), GetIndex(), and TTableSorter().

const TTable* TTableSorter::fParentTable [protected]

Definition at line 68 of file TTableSorter.h.

Referenced by BuildSorter(), GetTable(), GetTableName(), GetTableTitle(), GetTableType(), and LearnTable().

SEARCHMETHOD TTableSorter::fSearchMethod [protected]

Definition at line 69 of file TTableSorter.h.

Referenced by BSearch(), CountKey(), FindFirstKey(), SetSearchMethod(), SetSimpleArray(), and TTableSorter().

COMPAREMETHOD TTableSorter::fCompareMethod [protected]

Definition at line 70 of file TTableSorter.h.

Referenced by FillIndexArray(), QSort(), SetSearchMethod(), and TTableSorter().

TTable::EColumnType TTableSorter::fColType [protected]

Definition at line 71 of file TTableSorter.h.

Referenced by BuildSorter(), LearnTable(), SetSearchMethod(), and TTableSorter().

Long_t TTableSorter::fParentRowSize [protected]

Definition at line 72 of file TTableSorter.h.

Referenced by At(), BSearch(), BuildSorter(), FillIndexArray(), GetIndex(), GetRowSize(), and TTableSorter().

const char* TTableSorter::fFirstParentRow [protected]

Definition at line 73 of file TTableSorter.h.

Referenced by At(), and BuildSorter().

union { ... } TTableSorter::fValue [private]

void** TTableSorter::fSortIndex [protected]

Definition at line 58 of file TTableSorter.h.

Int_t* TTableSorter::fIndexArray [protected]

Definition at line 65 of file TTableSorter.h.

const Char_t* TTableSorter::fsimpleArray [protected]

Definition at line 67 of file TTableSorter.h.

const TTable* TTableSorter::fParentTable [protected]

Definition at line 68 of file TTableSorter.h.

const char* TTableSorter::fFirstParentRow [protected]

Definition at line 73 of file TTableSorter.h.


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