TDbiConnectionMaintainer.hxx

Go to the documentation of this file.
00001 #ifndef DBICONNECTIONMAINTAINER
00002 #define DBICONNECTIONMAINTAINER
00003 
00004 /**
00005  *
00006  * $Id: TDbiConnectionMaintainer.hxx,v 1.1 2011/01/18 05:49:19 finch Exp $
00007  *
00008  * \class TDbiConnectionMaintainer
00009  *
00010  *
00011  * \brief
00012  * <b>Concept</b> An object that hold open all TDbiConnections throught
00013  * its lifetime.
00014  *
00015  * \brief
00016  * <b>Purpose</b> To minimse the number of connections made and broken
00017  *   when performing multiple SQL queries.
00018  *
00019  * Contact: A.Finch@lancaster.ac.uk
00020  *
00021  *
00022  */
00023 
00024 
00025 class TDbiCascader;
00026 
00027 
00028 
00029 class TDbiConnectionMaintainer
00030 
00031 {
00032 
00033 public:
00034 
00035            TDbiConnectionMaintainer(TDbiCascader* cascader = 0);
00036            virtual ~TDbiConnectionMaintainer();
00037 
00038 // Data members
00039 
00040 private:
00041 
00042 
00043 /// May be null if made by (useless) default ctor.
00044   TDbiCascader* fCascader;
00045 
00046  ClassDef(TDbiConnectionMaintainer,0) // Object to hold open connections
00047 
00048 };
00049 
00050 
00051 
00052 #endif // DBICONNECTIONMAINTAINER
00053 
00054 

Generated on 11 Aug 2013 for SKDatabase by  doxygen 1.6.1