StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_TableSorter.h
1 //*-- Author : Valery Fine 26/01/99 (E-mail: fine@bnl.gov)
2 #ifndef STAR_St_TableSorter
3 #define STAR_St_TableSorter
4 
6 //
7 // $Id: St_TableSorter.h,v 1.1 2000/02/25 00:48:09 fine Exp $
8 //
9 // St_TableSorter - Is an "observer" class to sort the St_Table objects
10 // The class provides an interface to the standard "C/C++"
11 //
12 // qsort and bsearch subroutine (for further information see your local C/C++ docs)
13 // ===== =======
14 //
15 // - This class DOESN'T change / touch the "host" table itself
16 // For any St_Table object one can create as many different "sorter"
17 // as he/she finds useful for his/her code
18 // - Any instance of this class is meaningful as long as the "host" object
19 // "St_Table" does exist and is not changed
20 // - Any attempt to access this St_TableSorter after the "host" object deleted
21 // causes the program abnormal termination
22 // - Any attempt to access this St_TableSorter after the "host" object been changed
23 // causes an unpredictable result
24 // - Any instance (object) of this class is NOT deleted "by automatic" just
25 // the "host object "St_Table" deleted. It is the responsibility of the user's code
26 // keeping St_TableSorter and the the "host" St_Table objects consistent.
27 //
29 
30 #include "StTypeDefs.h"
31 #include <TTableSorter.h>
32 
33 //______________________________________________________________________
34 // $Log: St_TableSorter.h,v $
35 // Revision 1.1 2000/02/25 00:48:09 fine
36 // temporary interface for ROOT 2.23/12 with STAR classes inside
37 //
38 // Revision 1.24 2000/01/12 02:19:22 fine
39 // new ctor with a pointer to St_Table provided, internal ref to St_Table has been replaced with a regular pointer
40 //
41 // Revision 1.23 2000/01/12 01:24:53 fine
42 // several methods to use St_Table class from the <converted> C program to C++
43 //
44 // Revision 1.22 1999/12/05 06:34:17 fine
45 // Several const methods for St_TableSorter introduced
46 //
47 // Revision 1.21 1999/12/04 22:41:37 fine
48 // clean up sole const methods
49 //
50 // Revision 1.20 1999/12/01 14:03:35 fine
51 // operator[] fixed for mixed types
52 //
53 // Revision 1.19 1999/12/01 01:40:04 fine
54 // new access method with the Long_t parameter has been introduced to avoid the wrong cast from (long) to (double) in CINT
55 //
56 // Revision 1.18 1999/08/09 01:38:55 fine
57 // New method GetKeyAddress has been introduced
58 //
59 // Revision 1.17 1999/05/18 17:59:22 fine
60 // Clean up and some comments
61 //
62 // Revision 1.16 1999/05/18 14:41:29 fine
63 // New methods: CountKey(), CountKeys(), FindFirstKey() have beent introduced
64 //
65 // Revision 1.15 1999/05/14 22:20:56 fine
66 // CountKey and CountKeys methods have been introduced
67 //
68 // Revision 1.14 1999/05/14 00:30:38 fine
69 // GetLastFound method has been introduced
70 //
71 //______________________________________________________________________
72 
73 #endif