/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 #ifndef DBIEXTRACONDITIONS 00002 #define DBIEXTRACONDITIONS_H 00003 00023 #include <map> 00024 #include <vector> 00025 #include <string> 00026 00027 #ifndef ROOT_Rtypes 00028 #if !defined(__CINT__) || defined(__MAKECINT__) 00029 #include "Rtypes.h" 00030 #endif 00031 #endif 00032 00033 00034 class DbiExtraConditions 00035 { 00036 00037 public: 00038 00039 typedef std::map<std::string,std::string> name_map_t; 00040 typedef std::vector<std::string> name_order_t ; 00041 00042 // Constructors and destructors. 00043 DbiExtraConditions(); 00044 virtual ~DbiExtraConditions(); 00045 00046 // State testing member functions 00047 00048 const std::string& ConditionForTable(const std::string& tableName) const; // Formerly "Get" 00049 void Show() const; 00050 00051 // State changing member functions 00052 00053 void Clear() {fTableToCondition.clear();} 00054 void Configure(const std::vector<std::string>& config); // Formerly "Set" 00055 void Configure(const std::string& str); 00056 00057 private: 00058 00059 // Data members 00060 00062 name_map_t fTableToCondition; 00063 name_order_t fTableOrder; 00064 00065 }; 00066 00067 00068 #endif // DBIEXTRACONDITIONS_H