ModuleDataFile.h

00001 #ifndef SCTTEST_MODULEDATAFILE_H
00002 #define SCTTEST_MODULEDATAFILE_H
00003 
00004 #include <string>
00005 #include <fstream>
00006 
00007 using std::string;
00008 using std::ifstream;
00009 
00010 namespace SctTest {
00011 
00012 struct ModuleDataRecord {
00013     string serialNumber;
00014     string testName;
00015     string dataPath;
00016     unsigned int runNumber;
00017     unsigned int scanNumber;
00018 };
00019 
00024 class ModuleDataFile {
00025 public:
00026     ModuleDataFile(string fileName);
00027     bool hasMoreRecords();
00028     ModuleDataRecord getNextRecord();
00029 
00030 private:
00031     ifstream file;
00032 };
00033 }
00034 
00035 #endif //SCTTEST_MODULEDATAFILE_H

Generated on Mon Feb 6 14:01:23 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6