00001 00002 00003 00004 00005 00006 00007 00008 #ifndef JOBC_SEQTABLE_H 00009 #define JOBC_SEQTABLE_H 00010 #include <map> 00011 #include <string> 00012 #ifndef JOBC_SEQUENCE_H 00013 #include "JobControl/Sequence.h" 00014 #endif 00015 00016 namespace jobc { 00018 class SeqTable { 00019 public: 00020 static SeqTable& Instance(); 00021 00022 void Insert(const Sequence& seq); 00023 Sequence* Find(const char* name); 00024 00025 private: 00026 SeqTable(); 00027 static SeqTable* fInstance; 00028 00029 private: 00030 typedef std::map<std::string,jobc::Sequence> SeqTable_t; 00031 SeqTable_t fSeqTable; 00032 }; 00033 } 00034 #endif // JOBCSEQUENCE_H 00035
1.3.5