StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDbTableFactory.hh
1 /***************************************************************************
2  *
3  * $Id: StDbTableFactory.hh,v 1.1 2001/01/22 18:38:01 porter Exp $
4  *
5  * Author: R. Jeff Porter
6  ***************************************************************************
7  *
8  * Description: Simple place holder for creating DB tables;
9  * Eventually can depend on which database.
10  *
11  ***************************************************************************
12  *
13  * $Log: StDbTableFactory.hh,v $
14  * Revision 1.1 2001/01/22 18:38:01 porter
15  * Update of code needed in next year running. This update has little
16  * effect on the interface (only 1 method has been changed in the interface).
17  * Code also preserves backwards compatibility so that old versions of
18  * StDbLib can read new table structures.
19  * -Important features:
20  * a. more efficient low-level table structure (see StDbSql.cc)
21  * b. more flexible indexing for new systems (see StDbElememtIndex.cc)
22  * c. environment variable override KEYS for each database
23  * d. StMessage support & clock-time logging diagnostics
24  * -Cosmetic features
25  * e. hid stl behind interfaces (see new *Impl.* files) to again allow rootcint access
26  * f. removed codes that have been obsolete for awhile (e.g. db factories)
27  * & renamed some classes for clarity (e.g. tableQuery became StDataBaseI
28  * and mysqlAccessor became StDbSql)
29  *
30  *
31  **************************************************************************/
32 #ifndef STDBTABLEFACTORY_HH
33 #define STDBTABLEFACTORY_HH
34 
35 class StDbTable;
36 
38 
39 
40 public:
41 
42  virtual ~StDbTableFactory() {};
43  virtual StDbTable* newDbTable(const char* dbName, const char* tabName);
44 
45 };
46 #endif