#include <map>
#include <string>
#include "TDbi.hxx"
#include "TDbiExceptionLog.hxx"
#include "TDbiValidityRec.hxx"
Go to the source code of this file.
Classes | |
class | TDbiResultSet |
Concept Abstract base class representing the Result of a single database query. If query suceeded the Result will hold (own) a vector of table row objects that correspond to result of the query. It will also own a TDbiValidityRec that gives the range over which the result is valid. More... | |
Typedefs | |
typedef std::map< UInt_t, const TDbiTableRow * > | IndexToRow_t |
Functions | |
TDbiBinaryFile & | operator<< (TDbiBinaryFile &bf, const TDbiResultSet &res) |
TDbiBinaryFile & | operator>> (TDbiBinaryFile &bf, TDbiResultSet &res) |
typedef std::map<UInt_t,const TDbiTableRow*> IndexToRow_t |
Definition at line 34 of file TDbiResultSet.hxx.
TDbiBinaryFile& operator<< | ( | TDbiBinaryFile & | bf, | |
const TDbiResultSet & | res | |||
) |
Definition at line 27 of file TDbiResultSet.cxx.
References TDbiResultSet::Streamer().
00027 { 00028 00029 // Writing is a const operation, but uses a non-const method, so cast away const. 00030 00031 TDbiResultSet& res_tmp = const_cast< TDbiResultSet&>(res); 00032 res_tmp.Streamer(bf); 00033 return bf; 00034 }
TDbiBinaryFile& operator>> | ( | TDbiBinaryFile & | bf, | |
TDbiResultSet & | res | |||
) |
Definition at line 38 of file TDbiResultSet.cxx.
References TDbiResultSet::Streamer().
00038 { 00039 00040 res.Streamer(bf); 00041 return bf; 00042 }