00001 #include "TSK_DBI_Context.hxx" 00002 #include "TResultSetHandle.hxx" 00003 #include "TSK_DBI_Log.hxx" 00004 00005 #include "TVldContext.hxx" 00006 00007 // Before instantiating templated TDbiResultSetHandle classes, which will use MessageService 00008 // insure that __CVSID__ symbol is defined. 00009 00010 #include <TSK_DBI_Log.hxx> 00011 #include <MsgFormat.h> 00012 using std::endl; 00013 00014 #include "TDbiResultSetHandle.tpl" 00015 #define DbiResultPtr TDbiResultSetHandle 00016 00017 //_____________________________________________________________________________ 00018 00019 template<class T> TResultSetHandle<T>::TResultSetHandle() { 00020 00021 // Default constructor 00022 00023 SK_DBI_Trace("TResultSetHandle: Default ctor at:" << (void*) this); 00024 00025 } 00026 00027 00028 //_____________________________________________________________________________ 00029 00030 template<class T> TResultSetHandle<T>::TResultSetHandle(const TResultSetHandle& from) : 00031 TDbiResultSetHandle<T>(from) { 00032 00033 // Copy constructor 00034 00035 SK_DBI_Trace("TResultSetHandle: Copy ctor at:" << (void*) this); 00036 00037 } 00038 00039 00040 //_____________________________________________________________________________ 00041 00042 template<class T> TResultSetHandle<T>::TResultSetHandle(const TSK_DBI_Context& context, 00043 Int_t task /* =0 */) : 00044 TDbiResultSetHandle<T>(TVldContext(context),task) { 00045 00046 // Standard context query constructor 00047 00048 SK_DBI_Trace("TResultSetHandle: Standard context query ctor at:" << (void*) this); 00049 00050 } 00051 00052 //_____________________________________________________________________________ 00053 00054 template<class T> TResultSetHandle<T>::~TResultSetHandle() { 00055 00056 // Destructor 00057 00058 SK_DBI_Trace("TResultSetHandle: dtor at:" << (void*) this); 00059 00060 } 00061 00062