00001 #ifndef DBIROLLBACKDATES_H
00002 #define DBIROLLBACKDATES_H
00003
00024 #include <map>
00025 #include <vector>
00026 #include <string>
00027
00028 #ifndef ROOT_Rtypes
00029 #if !defined(__CINT__) || defined(__MAKECINT__)
00030 #include "Rtypes.h"
00031 #endif
00032 #endif
00033
00034
00035 class DbiRollbackDates
00036 {
00037
00038 public:
00039
00040 typedef std::map<std::string,std::string> name_map_t;
00041
00042
00043 DbiRollbackDates();
00044 virtual ~DbiRollbackDates();
00045
00046
00047
00048 const std::string& Get(const std::string& tableName) const;
00049 void Show() const;
00050
00051
00052
00053 void Clear() {fTableToDate.clear();}
00054 void Set(const std::vector<std::string>& config);
00055
00056 private:
00057
00058
00059
00061 name_map_t fTableToDate;
00062
00063
00064
00065 };
00066
00067
00068 #endif // DBIROLLBACKDATES_H