/search.css" rel="stylesheet" type="text/css"/> /search.js">
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 // Constructors and destructors. 00043 DbiRollbackDates(); 00044 virtual ~DbiRollbackDates(); 00045 00046 // State testing member functions 00047 00048 const std::string& Get(const std::string& tableName) const; 00049 void Show() const; 00050 00051 // State changing member functions 00052 00053 void Clear() {fTableToDate.clear();} 00054 void Set(const std::vector<std::string>& config); 00055 void Set(const std::string& config); 00056 00057 private: 00058 00059 // Data members 00060 00062 name_map_t fTableToDate; 00063 00064 // Removed: ClassDef(DbiRollbackDates,0) // Rollback dates by table name. 00065 00066 }; 00067 00068 00069 #endif // DBIROLLBACKDATES_H