00001 /*************************************************************************** 00002 * 00003 * $Id: StDbTableFactory.cc,v 1.1 2001/01/22 18:38:01 porter Exp $ 00004 * 00005 * Author: R. Jeff Porter 00006 *************************************************************************** 00007 * 00008 * Description: Simple place holder for creating DB tables; 00009 * Eventually can depend on which database. 00010 * 00011 *************************************************************************** 00012 * 00013 * $Log: StDbTableFactory.cc,v $ 00014 * Revision 1.1 2001/01/22 18:38:01 porter 00015 * Update of code needed in next year running. This update has little 00016 * effect on the interface (only 1 method has been changed in the interface). 00017 * Code also preserves backwards compatibility so that old versions of 00018 * StDbLib can read new table structures. 00019 * -Important features: 00020 * a. more efficient low-level table structure (see StDbSql.cc) 00021 * b. more flexible indexing for new systems (see StDbElememtIndex.cc) 00022 * c. environment variable override KEYS for each database 00023 * d. StMessage support & clock-time logging diagnostics 00024 * -Cosmetic features 00025 * e. hid stl behind interfaces (see new *Impl.* files) to again allow rootcint access 00026 * f. removed codes that have been obsolete for awhile (e.g. db factories) 00027 * & renamed some classes for clarity (e.g. tableQuery became StDataBaseI 00028 * and mysqlAccessor became StDbSql) 00029 * 00030 * 00031 **************************************************************************/ 00032 #include "StDbTableFactory.hh" 00033 #include "StDbTable.h" 00034 00035 StDbTable* 00036 StDbTableFactory::newDbTable(const char* dbName, const char* tabName){ 00037 return new StDbTable(tabName); 00038 } 00039 00040