Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DbiRecord.h

Go to the documentation of this file.
00001 #ifndef DBIRECORD
00002 #define DBIRECORD
00003 
00004 #ifndef RECRECORDIMP_H
00005 #include "Record/RecRecordImp.h"  // base class
00006 #endif
00007 #ifndef RECHEADER_H
00008 #include "Record/RecHeader.h" 
00009 #endif
00010 
00032 #include <set>
00033 #include <string>
00034 
00035 #include "TList.h"
00036 
00037 class DbiResultKey;
00038 class DbiRecord;
00039 std::ostream& operator<<(std::ostream& os, const DbiRecord& rec);
00040 
00041 class DbiRecord : public RecRecordImp<RecHeader> 
00042 {
00043 
00044 public:
00045 
00046   friend std::ostream& operator<<(std::ostream& os, const DbiRecord& rec);
00047 
00048 // Constructors and destructors.
00049            DbiRecord();
00050   virtual ~DbiRecord();
00051 
00052 // State testing member functions
00053   void AddTableRowNames( std::set<std::string>& names) const;
00054 
00055 // State changing member functions
00056 
00057                 void AdoptKey(DbiResultKey* key);
00058  const DbiResultKey* DeleteKey(const DbiResultKey* key);
00059 
00060 private:  
00061 
00062  Bool_t CompareTableRowKeys(const DbiRecord* that,
00063                   const std::string& tableRow,
00064                   std::ostream* os) const ;
00065 
00066 // Data members
00067 
00069   TList fKeys; 
00070 
00071  ClassDef(DbiRecord,1)     //  Record of current results
00072 
00073 };
00074 
00075 
00076 #endif // DBIRECORD
00077 

Generated on Mon Feb 15 11:06:34 2010 for loon by  doxygen 1.3.9.1