/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
DbiResultPtr< T > Class Template Reference

#include <DbiResultPtr.h>

Collaboration diagram for DbiResultPtr< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DbiResultPtr ()
 DbiResultPtr (const DbiResultPtr &that)
 DbiResultPtr (const Context &vc, Dbi::SubSite subsite=Dbi::kDefaultSubSite, Dbi::Task task=Dbi::kDefaultTask, Dbi::AbortTest abortTest=Dbi::kTableMissing, Bool_t findFullTimeWindow=true)
 DbiResultPtr (const string &tableName, const Context &vc, Dbi::SubSite subsite=Dbi::kDefaultSubSite, Dbi::Task task=Dbi::kDefaultTask, Dbi::AbortTest abortTest=Dbi::kTableMissing, Bool_t findFullTimeWindow=true)
 DbiResultPtr (const string &tableName, const DbiSqlContext &context, const Dbi::SubSite &subsite=Dbi::kAnySubSite, const Dbi::Task &task=Dbi::kAnyTask, const string &data="", const string &fillOpts="", Dbi::AbortTest abortTest=Dbi::kTableMissing)
 DbiResultPtr (const string &tableName, const DbiValidityRec &vrec, Dbi::AbortTest abortTest=Dbi::kTableMissing)
 DbiResultPtr (const string &tableName, UInt_t seqNo, UInt_t dbNo, Dbi::AbortTest abortTest=Dbi::kTableMissing)
virtual ~DbiResultPtr ()
const DbiResultKeyGetKey () const
UInt_t GetNumRows () const
const DbiResultGetResult () const
Int_t GetResultID () const
const T * GetRow (UInt_t rowNum) const
const T * GetRowByIndex (UInt_t index) const
const DbiValidityRecGetValidityRec (const DbiTableRow *row=0) const
DbiTableProxyTableProxy () const
Bool_t ResultsFromDb () const
UInt_t NextQuery (Bool_t forwards=kTRUE)
UInt_t NewQuery (Context vc, Dbi::SubSite subsite=0, Dbi::Task task=0, Bool_t findFullTimeWindow=true)
UInt_t NewQuery (const DbiSqlContext &context, const Dbi::SubSite &subsite=0, const Dbi::Task &task=0, const string &data="", const string &fillOpts="")
UInt_t NewQuery (const DbiValidityRec &vrec)
UInt_t NewQuery (UInt_t seqNo, UInt_t dbNo)

Static Public Member Functions

static DbiTableProxyGetTableProxy ()
static DbiTableProxyGetTableProxy (const string &tableName)

Private Member Functions

void Disconnect ()
void SetContext (const DbiValidityRec &vrec)
Bool_t ApplyAbortTest ()
DbiResultPtroperator= (const DbiResultPtr &)

Private Attributes

Dbi::AbortTest fAbortTest
 Test which if failed triggers abort.
DbiTableProxyfTableProxy
 Proxy for associated database table.
const DbiResultfResult
 Pointer to query result. May be zero!
Site::Site_t fSiteType
 from query context.
SimFlag::SimFlag_t fSimType
 from query context.

Static Private Attributes

static std::map< string,
DbiTableProxy * > 
fgNameToProxy
static DbiTableProxyfgTableProxy

Detailed Description

template<class T>
class DbiResultPtr< T >

Id:
DbiResultPtr.h,v 1.34 2006/08/08 10:51:32 west Exp

Definition at line 43 of file DbiResultPtr.h.


Constructor & Destructor Documentation

template<class T >
DbiResultPtr< T >::DbiResultPtr ( )
template<class T >
DbiResultPtr< T >::DbiResultPtr ( const DbiResultPtr< T > &  that)
template<class T >
DbiResultPtr< T >::DbiResultPtr ( const Context vc,
Dbi::SubSite  subsite = Dbi::kDefaultSubSite,
Dbi::Task  task = Dbi::kDefaultTask,
Dbi::AbortTest  abortTest = Dbi::kTableMissing,
Bool_t  findFullTimeWindow = true 
)
template<class T >
DbiResultPtr< T >::DbiResultPtr ( const string &  tableName,
const Context vc,
Dbi::SubSite  subsite = Dbi::kDefaultSubSite,
Dbi::Task  task = Dbi::kDefaultTask,
Dbi::AbortTest  abortTest = Dbi::kTableMissing,
Bool_t  findFullTimeWindow = true 
)
template<class T >
DbiResultPtr< T >::DbiResultPtr ( const string &  tableName,
const DbiSqlContext context,
const Dbi::SubSite subsite = Dbi::kAnySubSite,
const Dbi::Task task = Dbi::kAnyTask,
const string &  data = "",
const string &  fillOpts = "",
Dbi::AbortTest  abortTest = Dbi::kTableMissing 
)
template<class T >
DbiResultPtr< T >::DbiResultPtr ( const string &  tableName,
const DbiValidityRec vrec,
Dbi::AbortTest  abortTest = Dbi::kTableMissing 
)
template<class T >
DbiResultPtr< T >::DbiResultPtr ( const string &  tableName,
UInt_t  seqNo,
UInt_t  dbNo,
Dbi::AbortTest  abortTest = Dbi::kTableMissing 
)
template<class T >
virtual DbiResultPtr< T >::~DbiResultPtr ( ) [virtual]

Member Function Documentation

template<class T >
const DbiResultKey* DbiResultPtr< T >::GetKey ( ) const
template<class T >
UInt_t DbiResultPtr< T >::GetNumRows ( ) const
template<class T >
const DbiResult* DbiResultPtr< T >::GetResult ( ) const [inline]

Definition at line 82 of file DbiResultPtr.h.

{ return fResult; }
template<class T >
Int_t DbiResultPtr< T >::GetResultID ( ) const
template<class T >
const T* DbiResultPtr< T >::GetRow ( UInt_t  rowNum) const
template<class T >
const T* DbiResultPtr< T >::GetRowByIndex ( UInt_t  index) const
template<class T >
const DbiValidityRec* DbiResultPtr< T >::GetValidityRec ( const DbiTableRow row = 0) const
template<class T >
DbiTableProxy& DbiResultPtr< T >::TableProxy ( ) const
template<class T >
Bool_t DbiResultPtr< T >::ResultsFromDb ( ) const
template<class T >
static DbiTableProxy& DbiResultPtr< T >::GetTableProxy ( ) [static]
template<class T >
static DbiTableProxy& DbiResultPtr< T >::GetTableProxy ( const string &  tableName) [static]
template<class T >
UInt_t DbiResultPtr< T >::NextQuery ( Bool_t  forwards = kTRUE)
template<class T >
UInt_t DbiResultPtr< T >::NewQuery ( Context  vc,
Dbi::SubSite  subsite = 0,
Dbi::Task  task = 0,
Bool_t  findFullTimeWindow = true 
)
template<class T >
UInt_t DbiResultPtr< T >::NewQuery ( const DbiSqlContext context,
const Dbi::SubSite subsite = 0,
const Dbi::Task task = 0,
const string &  data = "",
const string &  fillOpts = "" 
)
template<class T >
UInt_t DbiResultPtr< T >::NewQuery ( const DbiValidityRec vrec)
template<class T >
UInt_t DbiResultPtr< T >::NewQuery ( UInt_t  seqNo,
UInt_t  dbNo 
)
template<class T >
void DbiResultPtr< T >::Disconnect ( ) [private]
template<class T >
void DbiResultPtr< T >::SetContext ( const DbiValidityRec vrec) [private]
template<class T >
Bool_t DbiResultPtr< T >::ApplyAbortTest ( ) [private]
template<class T >
DbiResultPtr& DbiResultPtr< T >::operator= ( const DbiResultPtr< T > &  ) [private]

Member Data Documentation

template<class T >
Dbi::AbortTest DbiResultPtr< T >::fAbortTest [private]

Test which if failed triggers abort.

Definition at line 120 of file DbiResultPtr.h.

template<class T >
DbiTableProxy& DbiResultPtr< T >::fTableProxy [private]

Proxy for associated database table.

Definition at line 123 of file DbiResultPtr.h.

template<class T >
const DbiResult* DbiResultPtr< T >::fResult [private]

Pointer to query result. May be zero!

Definition at line 129 of file DbiResultPtr.h.

template<class T >
Site::Site_t DbiResultPtr< T >::fSiteType [private]

from query context.

Definition at line 132 of file DbiResultPtr.h.

template<class T >
SimFlag::SimFlag_t DbiResultPtr< T >::fSimType [private]

from query context.

Definition at line 135 of file DbiResultPtr.h.

template<class T >
std::map<string,DbiTableProxy*> DbiResultPtr< T >::fgNameToProxy [static, private]

Definition at line 138 of file DbiResultPtr.h.

template<class T >
DbiTableProxy* DbiResultPtr< T >::fgTableProxy [static, private]

Definition at line 140 of file DbiResultPtr.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:45 for DatabaseInterface by doxygen 1.7.4