00001 #ifndef SCTTEST_XMLSUMMARYFILE_H 00002 #define SCTTEST_XMLSUMMARYFILE_H 00003 00004 #include <string> 00005 #include <fstream> 00006 00007 using std::string; 00008 using std::ifstream; 00009 00010 namespace SctTest { 00011 00012 struct XmlSummaryRecord { 00013 string serialNumber; 00014 string xmlFile; 00015 }; 00016 00022 class XmlSummaryFile { 00023 public: 00024 XmlSummaryFile(string fileName); 00025 bool hasMoreRecords(); 00026 XmlSummaryRecord getNextRecord(); 00027 00028 private: 00029 ifstream file; 00030 }; 00031 } 00032 00033 #endif //SCTTEST_XMLSUMMARYFILE_H