TDbiResultSet.hxx File Reference

#include <map>
#include <string>
#include "TDbi.hxx"
#include "TDbiExceptionLog.hxx"
#include "TDbiValidityRec.hxx"
Include dependency graph for TDbiResultSet.hxx:
This graph shows which files directly or indirectly include this file:

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

TDbiBinaryFileoperator<< (TDbiBinaryFile &bf, const TDbiResultSet &res)
TDbiBinaryFileoperator>> (TDbiBinaryFile &bf, TDbiResultSet &res)

Typedef Documentation

typedef std::map<UInt_t,const TDbiTableRow*> IndexToRow_t

Definition at line 34 of file TDbiResultSet.hxx.


Function Documentation

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 }

Here is the call graph for this function:

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 }

Here is the call graph for this function:


Generated on 11 Aug 2013 for SKDatabase by  doxygen 1.6.1