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

DbiResult.h File Reference

#include <map>
#include <string>
#include "DatabaseInterface/Dbi.h"
#include "DatabaseInterface/DbiExceptionLog.h"
#include "DatabaseInterface/DbiValidityRec.h"

Go to the source code of this file.

Classes

class  DbiResult
 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 DbiValidityRec that gives the range over which the result is valid. Purpose To provide suitable objects to cache. DbiResults can be checked to see if they satisfy new queries. More...

Typedefs

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

Functions

DbiBinaryFileoperator<< (DbiBinaryFile &bf, const DbiResult &res)
DbiBinaryFileoperator>> (DbiBinaryFile &bf, DbiResult &res)


Typedef Documentation

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

Definition at line 36 of file DbiResult.h.


Function Documentation

DbiBinaryFile& operator<< DbiBinaryFile bf,
const DbiResult res
 

Definition at line 28 of file DbiResult.cxx.

References DbiResult::Streamer().

00028                                                                    {
00029 
00030 // Writing is a const operation, but uses a non-const method, so cast away const.
00031 
00032   DbiResult& res_tmp = const_cast< DbiResult&>(res);
00033   res_tmp.Streamer(bf);
00034   return bf;
00035 }

DbiBinaryFile& operator>> DbiBinaryFile bf,
DbiResult res
 

Definition at line 39 of file DbiResult.cxx.

References DbiResult::Streamer().

00039                                                              {
00040 
00041   res.Streamer(bf);
00042   return bf;
00043 }


Generated on Mon Feb 15 11:07:56 2010 for loon by  doxygen 1.3.9.1