/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 #ifndef DBIRECORD 00002 #define DBIRECORD 00003 00026 #include <set> 00027 #include <string> 00028 00029 #include "TList.h" 00030 00031 class DbiResultKey; 00032 class DbiRecord; 00033 std::ostream& operator<<(std::ostream& os, const DbiRecord& rec); 00034 00035 class DbiRecord : public TObject 00036 { 00037 00038 public: 00039 00040 friend std::ostream& operator<<(std::ostream& os, const DbiRecord& rec); 00041 00042 // Constructors and destructors. 00043 DbiRecord(); 00044 virtual ~DbiRecord(); 00045 00046 // State testing member functions 00047 void AddTableRowNames( std::set<std::string>& names) const; 00048 00049 // State changing member functions 00050 00051 void AdoptKey(DbiResultKey* key); 00052 const DbiResultKey* DeleteKey(const DbiResultKey* key); 00053 00054 private: 00055 00056 Bool_t CompareTableRowKeys(const DbiRecord* that, 00057 const std::string& tableRow, 00058 std::ostream* os) const ; 00059 00060 // Data members 00061 00063 TList fKeys; 00064 00065 DbiRecord(const DbiRecord&) : TObject() {}; //Hide from compiler 00066 00067 00068 // Removed: ClassDef(DbiRecord,1) // Record of current results 00069 00070 }; 00071 00072 00073 #endif // DBIRECORD 00074