#ifndef DBICONNECTIONMAINTAINER #define DBICONNECTIONMAINTAINER /** * * $Id: IDbiConnectionMaintainer.hxx,v 1.1 2011/01/18 05:49:19 finch Exp $ * * \class COMET::IDbiConnectionMaintainer * * * \brief * Concept An object that hold open all TDbiConnections throught * its lifetime. * * \brief * Purpose To minimse the number of connections made and broken * when performing multiple SQL queries. * * Contact: A.Finch@lancaster.ac.uk * * */ namespace COMET { class IDbiCascader; } namespace COMET { class IDbiConnectionMaintainer { public: IDbiConnectionMaintainer(IDbiCascader* cascader = 0); virtual ~IDbiConnectionMaintainer(); // Data members private: /// May be null if made by (useless) default ctor. IDbiCascader* fCascader; ClassDef(IDbiConnectionMaintainer,0) // Object to hold open connections }; }; #endif // DBICONNECTIONMAINTAINER