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

DbFederation Class Reference

Db objects: DbFederation. More...

#include <DbFederationObj.h>

Inheritance diagram for DbFederation:

DbAccessObj List of all members.

Private Methods

 DbFederation (const dbHandle<DbSession>& session, const std::string& name, DbAccessMode mode = DbOOMs::READ)
 Constructor. More...

virtual ~DbFederation ()
 Standard destructor. More...

dbHandle<DbSession>& session ()
 Access session handle. More...

const dbHandle<DbSession>& session () const
 Access session handle (CONST). More...

IDbFederationinfo () const
 Access to technology dependent implementation. More...

IOODataBasedb ()
 Allow access to the database implementation. More...

IMessageSvc* msgSvc ()
 Allow access to the message service. More...

bool existsDbase ( const std::string& name ) const
 Check for database existence within federation. More...

DbResult closeDataBases () const
 Close all open databases. More...

DbResult close () const
 Close federation. More...

DbResult open () const
 Open federation. More...


Private Attributes

friend DbFederationImpl
 The implementation and the handle have full access! More...

friend dbHandle<DbFederation>
IDbFederationm_info
 Technology dependent stuff. More...

dbHandle<DbSessionm_session
 Handle to session. More...

IOODataBasem_dbOOMs
 Pointer to specific DbOOMs implementation. More...

IMessageSvc* m_msgSvc
 Pointer to the message service to be used. More...


Detailed Description

Db objects: DbFederation.

Description: Implementation independent part of a database federation object objects.

Dependencies:

History :

    +---------+----------------------------------------------+--------+
    |    Date |                 Comment                      | Who    |
    +---------+----------------------------------------------+--------+
    | 21/09/99| Initial version.                             | MF     |
    +---------+----------------------------------------------+--------+
    
Author: M.Frank Version: 1.0

Definition at line 45 of file DbFederationObj.h.


Constructor & Destructor Documentation

DbFederation::DbFederation ( const dbHandle< DbSession >& session,
const std::string & name,
DbAccessMode mode = DbOOMs::READ ) [private]
 

Constructor.

Definition at line 30 of file DbFederationObj.cpp.

DbFederation::~DbFederation ( ) [private, virtual]
 

Standard destructor.

Definition at line 70 of file DbFederationObj.cpp.


Member Function Documentation

DbResult DbFederation::close ( ) const [private]
 

Close federation.

Definition at line 112 of file DbFederationObj.cpp.

DbResult DbFederation::closeDataBases ( ) const [private]
 

Close all open databases.

Definition at line 98 of file DbFederationObj.cpp.

IOODataBase * DbFederation::db ( ) [inline, private]
 

Allow access to the database implementation.

Definition at line 100 of file DbFederationObj.h.

bool DbFederation::existsDbase ( const std::string & name ) const [private]
 

Check for database existence within federation.

Definition at line 90 of file DbFederationObj.cpp.

IDbFederation * DbFederation::info ( ) const [inline, private]
 

Access to technology dependent implementation.

Definition at line 95 of file DbFederationObj.h.

IMessageSvc * DbFederation::msgSvc ( ) [inline, private]
 

Allow access to the message service.

Definition at line 105 of file DbFederationObj.h.

DbResult DbFederation::open ( ) const [private]
 

Open federation.

Definition at line 94 of file DbFederationObj.cpp.

Referenced by dbHandle< DbFederation >::open().

const dbHandle< DbSession >& DbFederation::session ( ) const [inline, private]
 

Access session handle (CONST).

Definition at line 90 of file DbFederationObj.h.

dbHandle< DbSession >& DbFederation::session ( ) [inline, private]
 

Access session handle.

Definition at line 85 of file DbFederationObj.h.


Member Data Documentation

DbFederationImpl [private]
 

The implementation and the handle have full access!

Definition at line 47 of file DbFederationObj.h.

friend DbFederation::dbHandle<DbFederation> [private]
 

Definition at line 48 of file DbFederationObj.h.

IOODataBase * DbFederation::m_dbOOMs [private]
 

Pointer to specific DbOOMs implementation.

Definition at line 55 of file DbFederationObj.h.

IDbFederation * DbFederation::m_info [private]
 

Technology dependent stuff.

Definition at line 51 of file DbFederationObj.h.

IMessageSvc * DbFederation::m_msgSvc [private]
 

Pointer to the message service to be used.

Definition at line 57 of file DbFederationObj.h.

dbHandle< DbSession > DbFederation::m_session [mutable, private]
 

Handle to session.

Definition at line 53 of file DbFederationObj.h.


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