|
// // BrPassDb // // Database engine wrapper for pass data. This is a singleton // object. After construction, one can get a pointer to the connection // via static message BrPassDb::Instance(). // // // $Id: BrPassDb.cxx,v 1.2 2001/10/08 11:00:47 cholm Exp $ // $Author: cholm $ // $Date: 2001/10/08 11:00:47 $ // $Copyright: 2001 Brahms Collaboration // #ifndef BRAT_BrPassDb #include "BrPassDb.h" #endif #ifndef BRAT_BrRdbmPassDb #include "BrRdbmPassDb.h" #endif //____________________________________________________________________ ClassImp(BrPassDb); //____________________________________________________________________ BrPassDb* BrPassDb::fgInstance = 0; //____________________________________________________________________ BrPassDb::BrPassDb() { // Normal constructor. Singleton. } //____________________________________________________________________ BrPassDb* BrPassDb::Instance() { // if (!fgInstance) fgInstance = BrRdbmPassDb::Instance(); return fgInstance; } //____________________________________________________________________ // // EOF // |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|