StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDbTableFactory.cc
1 /***************************************************************************
2  *
3  * $Id: StDbTableFactory.cc,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.cc,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 #include "StDbTableFactory.hh"
33 #include "StDbTable.h"
34 
35 StDbTable*
36 StDbTableFactory::newDbTable(const char* dbName, const char* tabName){
37  return new StDbTable(tabName);
38 }
39 
40