00001 #ifndef _runFactory_H
00002 #define _runFactory_H
00003
00004 class scRun;
00005 #include <string>
00006 #include <vector>
00007
00008 class runFactory{
00009
00010 public:
00011
00012 typedef std::vector<std::string> StringList;
00013
00014 runFactory(const std::string& header, const std::string footer);
00015
00016 ~runFactory(){}
00017
00018 scRun* createRun(const std::string& aFile);
00019
00020 private:
00021
00022 bool createList(const std::string& aFile, StringList& pList);
00023 bool dataCheck(StringList& sList, time_t& aTime);
00024
00025 std::string m_header;
00026 std::string m_footer;
00027
00028 };
00029
00030 #endif