00001 00002 #include "DcsUser/Dcs_Radon_Level.h" 00003 #include "MessageService/MsgService.h" 00004 00005 ClassImp(Dcs_Radon_Level) 00006 00007 // Definition of static data members 00008 // ********************************* 00009 00010 CVSID("$Id: Dcs_Radon_Level.cxx,v 1.1 2009/06/02 21:25:01 nwest Exp $\n CVSID_DBIRESULTPTR "); 00011 00012 // Instantiate associated Result Pointer class. 00013 // ******************************************* 00014 00015 #include "DatabaseInterface/DbiResultPtr.tpl" 00016 template class DbiResultPtr<Dcs_Radon_Level>; 00017 00018 #include "DatabaseInterface/DbiWriter.tpl" 00019 template class DbiWriter<Dcs_Radon_Level>; 00020 00021 // Definition of member functions (alphabetical order) 00022 // *************************************************** 00023 00024 00025 //..................................................................... 00026 00027 void Dcs_Radon_Level::Fill(DbiResultSet& rs, 00028 const DbiValidityRec* /* vrec */) { 00029 // 00030 // 00031 // Purpose: Fill object from Result Set 00032 // 00033 // Arguments: 00034 // rs in Result Set used to fill object 00035 // vrec in Associated validity record (or 0 if filling 00036 // DbiValidityRec) 00037 // 00038 // o Fill object from current row of Result Set. 00039 00040 rs >> fTimeStamp >> fRadonLevel; 00041 00042 } 00043 //..................................................................... 00044 00045 void Dcs_Radon_Level::Store(DbiOutRowStream& ors, 00046 const DbiValidityRec* /* vrec */) const { 00047 // Purpose: Stream object to output row stream 00048 // 00049 // Arguments: 00050 // ors in Output row stream. 00051 // vrec in Associated validity record (or 0 if filling 00052 // DbiValidityRec) 00053 // o Stream object to output row stream. 00054 00055 ors << fTimeStamp << fRadonLevel; 00056 00057 } 00058 00059
1.3.9.1