Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BeamMonSwicMask.cxx

Go to the documentation of this file.
00001 #include "BeamMonSwicMask.h"
00002 
00003 #include <DatabaseInterface/DbiResultSet.h>
00004 #include <DatabaseInterface/DbiOutRowStream.h>
00005 
00006 using namespace std;
00007 
00008 
00009 BeamMonSwicMask::BeamMonSwicMask(const char* device, int index, float mask)
00010     : DbiTableRow(), fName(device), fIndex(index), fMask(mask)
00011 {
00012 }
00013 
00014 DbiTableRow* BeamMonSwicMask::CreateTableRow() const
00015 {
00016     return new BeamMonSwicMask;
00017 }
00018 
00019 void BeamMonSwicMask::Fill(DbiResultSet& rs, const DbiValidityRec* /*vrec*/)
00020 {
00021     rs >> fStartTime >> fStopTime >> fName >> fIndex >> fMask;
00022 }
00023 
00024 void BeamMonSwicMask::Store(DbiOutRowStream& ors, const DbiValidityRec* /*vrec*/) const
00025 {
00026     ors << fStartTime<< fStopTime << fName << fIndex << fMask;
00027 }
00028 
00029 ClassImp(BeamMonSwicMask)

Generated on Mon Feb 15 11:06:25 2010 for loon by  doxygen 1.3.9.1