| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DbiRollbackDates.h

Go to the documentation of this file.
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 
00056 private:  
00057 
00058 // Data members
00059 
00061   name_map_t fTableToDate;    
00062 
00063 // Removed: ClassDef(DbiRollbackDates,0)   // Rollback dates by table name.
00064 
00065 };
00066 
00067 
00068 #endif  // DBIROLLBACKDATES_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:15:46 2011 for DatabaseInterface by doxygen 1.4.7