#include <IOODataBase.h>
Inheritance diagram for IOODataBase:

Public Types | |
| typedef DbPersistent* (* | CreateP )( const dbHandle<DbContainer>& cntH ) |
| Functor to create persistent object. | |
| typedef DbObject* (* | CreateT )( void* buffer) |
| Functor to create transient object. | |
Public Methods | |
| virtual StatusCode | initialize (const std::string& nam) = 0 |
| Initialize the database. | |
| virtual StatusCode | finalize (void) = 0 |
| Initialize the database. | |
| virtual IMessageSvc* | msgSvc () = 0 |
| Access to the message service. | |
| virtual unsigned char | type () const = 0 |
| Access to technology type. | |
| virtual const std::string& | name () const = 0 |
| Name of the database implementation. | |
| virtual const std::string& | driver () const = 0 |
| Name of the driver's implementation. | |
| virtual void | setDriver (const std::string& drv) = 0 |
| Set the name of the driver's implementation. | |
| virtual const std::string& | server () const = 0 |
| Name of the database server host. | |
| virtual void | setServer (const std::string& srv) = 0 |
| Set the name of the database server host. | |
| virtual IDbSession* | createSession (void) = 0 |
| Create database session. | |
| virtual IDbFederation* | createFederation (void) = 0 |
| create database federation. | |
| virtual IDbDataBase* | createDataBase (void) = 0 |
| create database. | |
| virtual IDbContainer* | createContainer (void) = 0 |
| create database container. | |
| virtual const DbTypeInfo* | typeInfo (const std::string& nam) const = 0 |
| Request type information (CONST). | |
| virtual DbTypeInfo* | typeInfo (const std::string& nam) = 0 |
| Request type information. | |
| virtual DbResult | addTypeInfo (const std::string& nam, DbTypeInfo* info) = 0 |
| Add type information. | |
| virtual DbTypeInfo* | addTypeInfo (const std::string& nam, const std::string& t_type, const std::string& p_type, const std::string& desc, std::vector<DbColumn*>& cols) = 0 |
| Create type information item for object binding. | |
| virtual DbTypeInfo* | addTypeInfo (const IDbDataBase::Type* pType) = 0 |
| Create type information item for object binding. | |
| virtual DbResult | prepareLink (const dbObjectHandle<DbObject>& objH, dbHandle<DbLink>& linkH, void* gene) = 0 |
| prepare link between objects in databases. | |
Static Public Methods | |
| const InterfaceID& | interfaceID () |
| Retrieve interface ID. More... | |
System: The LHCb Offline System
Package: DbCnv
The IOODataBase interface allows to:
Dependencies:
History:
+---------+----------------------------------------------+---------
| Date | Comment | Who
+---------+----------------------------------------------+---------
| 29/02/99| Initial version | MF
+---------+----------------------------------------------+---------
Definition at line 314 of file IOODataBase.h.
|
|
Functor to create persistent object.
|
|
|
Functor to create transient object.
|
|
|
Create type information item for object binding.
Reimplemented in OODataBaseImplementation. |
|
|
Create type information item for object binding.
Reimplemented in OODataBaseImplementation. |
|
|
Add type information.
Reimplemented in OODataBaseImplementation. |
|
|
create database container.
Referenced by DbContainer::DbContainer(). |
|
|
create database.
|
|
|
create database federation.
Referenced by DbFederation::DbFederation(). |
|
|
Create database session.
Referenced by DbSession::open(). |
|
|
Name of the driver's implementation.
Reimplemented in OODataBaseImplementation. Referenced by DbImplementation::DbImplementation(), DbSession::close(), DbCnvSvc::initialize(), and DbSession::open(). |
|
|
Initialize the database.
Reimplemented in OODataBaseImplementation. |
|
|
Initialize the database.
Reimplemented in OODataBaseImplementation. Referenced by DbCnvSvc::initialize(). |
|
|
Retrieve interface ID.
Definition at line 317 of file IOODataBase.h. |
|
|
Access to the message service.
Reimplemented in OODataBaseImplementation. |
|
|
Name of the database implementation.
Reimplemented in OODataBaseImplementation. Referenced by DbBaseConverter::DbBaseConverter(), DbDataBase::DbDataBase(), DbDirectoryCnv::DbDirectoryCnv(), DbFederation::DbFederation(), DbSession::close(), DbSession::open(), and DbFederation::~DbFederation(). |
|
|
prepare link between objects in databases.
Reimplemented in OODataBaseImplementation. |
|
|
Name of the database server host.
Reimplemented in OODataBaseImplementation. Referenced by DbImplementation::DbImplementation(). |
|
|
Set the name of the driver's implementation.
Reimplemented in OODataBaseImplementation. |
|
|
Set the name of the database server host.
Reimplemented in OODataBaseImplementation. |
|
|
Access to technology type.
Reimplemented in OODataBaseImplementation. Referenced by DbCnvSvc::initialize(). |
|
|
Request type information.
Reimplemented in OODataBaseImplementation. |
|
|
Request type information (CONST).
Reimplemented in OODataBaseImplementation. Referenced by DbBaseConverter::DbBaseConverter(), DbGenericConverter::DbGenericConverter(), DbDataBase::addAssocEntry(), and DbDataBase::addType(). |
1.2.3 written by Dimitri van Heesch,
© 1997-2000