Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

IDataBaseMgr Class Reference

System: The LHCb Offline System

Package: DbCnv. More...

#include <GaudiKernel/IDataBaseMgr.h>

Inheritance diagram for IDataBaseMgr:

IInterface DbCnvSvc DbEventCnvSvc List of all members.

Public Methods

virtual dbHandle<DbSession>& defaultSessionHdl () = 0
 Retrieve handle to the default database session.

virtual dbHandle<DbFederation>& defaultFederationHdl () = 0
 Retrieve handle to the default database federation.

virtual dbHandle<DbDataBase>& defaultDbHdl () = 0
 Retrieve handle to the default data base.

virtual IOODataBaseimplementation () = 0
 Get access to the underlying database implementation.

virtual dbIter<DbObject>* createIterator (const std::string& dbName, const std::string& cntName, DbAccessMode mode = DbOOMs::READ) = 0
 Request an iterator over a container from the service. More...


Static Public Methods

const InterfaceID& interfaceID ()
 Retrieve interface ID. More...


Detailed Description

System: The LHCb Offline System

Package: DbCnv.

The DbCnvSvc service interface allows to:

Author(s):
Markus Frank
Version:
1.0

Definition at line 37 of file IDataBaseMgr.h.


Member Function Documentation

dbIter< DbObject >* IDataBaseMgr::createIterator ( const std::string & dbName,
const std::string & cntName,
DbAccessMode mode = DbOOMs::READ ) [pure virtual]
 

Request an iterator over a container from the service.

Parameters:
dbName   String containing name of the database
cntName   String containing the name of the container object
mode   Access mode
Returns:
Reference to the iterator object

Reimplemented in DbCnvSvc.

Referenced by DbEvtSelector::begin(), and DbEvtSelector::next().

dbHandle< DbDataBase >& IDataBaseMgr::defaultDbHdl ( ) [pure virtual]
 

Retrieve handle to the default data base.

Reimplemented in DbCnvSvc.

Referenced by DbDirectoryCnv::createRep(), and DbDirectoryCnv::updateRep().

dbHandle< DbFederation >& IDataBaseMgr::defaultFederationHdl ( ) [pure virtual]
 

Retrieve handle to the default database federation.

Reimplemented in DbCnvSvc.

Referenced by DbDirectoryCnv::updateObjRefs().

dbHandle< DbSession >& IDataBaseMgr::defaultSessionHdl ( ) [pure virtual]
 

Retrieve handle to the default database session.

Reimplemented in DbCnvSvc.

IOODataBase * IDataBaseMgr::implementation ( ) [pure virtual]
 

Get access to the underlying database implementation.

Reimplemented in DbCnvSvc.

const InterfaceID & IDataBaseMgr::interfaceID ( ) [inline, static]
 

Retrieve interface ID.

Definition at line 40 of file IDataBaseMgr.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:23 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000