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

DbImplementation Class Reference

"Generic" implementation base class. More...

#include <DbImplementation.h>

Inheritance diagram for DbImplementation:

DbContainerImplementation DbDataBaseImplementation DbFederationImplementation DbSessionImplementation List of all members.

Public Methods

 DbImplementation (IOODataBase* idb, IMessageSvc* msg, unsigned char typ, const std::string& name="")
 Standard Constructor. More...

unsigned char type () const
 Access to OODataBase type. More...

const std::string& name () const
 Object's name. More...

const std::string& driver () const
 Driver's name. More...

const std::string& server () const
 Database server's name. More...

IMessageSvc* messageSvc ()
 Access to Message service. More...

IOODataBasedb ()
 Access to Database implementation. More...


Protected Methods

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


Protected Attributes

IMessageSvc* m_messageSvc
 reference to message service. More...

unsigned char m_type
 Type the implementation belongs to. More...

IOODataBasem_ooDB
 Pointer to OO DB implementation. More...

std::string m_name
 Object name. More...

std::string m_driver
 Driver's name. More...

std::string m_server
 Driver's name. More...


Detailed Description

"Generic" implementation base class.

Description: Generic helper class to implement stuff common to all other classes. This generally are helpers.

History :

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

Definition at line 41 of file DbImplementation.h.


Constructor & Destructor Documentation

DbImplementation::~DbImplementation ( ) [protected, virtual]
 

Standard destructor.

Definition at line 41 of file DbImplementation.cpp.

DbImplementation::DbImplementation ( IOODataBase * idb,
IMessageSvc * msg,
unsigned char typ,
const std::string & name = "" )
 

Standard Constructor.

Definition at line 26 of file DbImplementation.cpp.


Member Function Documentation

IOODataBase * DbImplementation::db ( ) [inline]
 

Access to Database implementation.

Definition at line 350 of file DbImplementation.h.

const std::string & DbImplementation::driver ( ) const [inline]
 

Driver's name.

Definition at line 360 of file DbImplementation.h.

IMessageSvc * DbImplementation::messageSvc ( ) [inline]
 

Access to Message service.

Definition at line 345 of file DbImplementation.h.

const std::string & DbImplementation::name ( ) const [inline]
 

Object's name.

Definition at line 355 of file DbImplementation.h.

const std::string & DbImplementation::server ( ) const [inline]
 

Database server's name.

Definition at line 365 of file DbImplementation.h.

unsigned char DbImplementation::type ( ) const [inline]
 

Access to OODataBase type.

Definition at line 340 of file DbImplementation.h.


Member Data Documentation

std::string DbImplementation::m_driver [protected]
 

Driver's name.

Definition at line 52 of file DbImplementation.h.

IMessageSvc * DbImplementation::m_messageSvc [protected]
 

reference to message service.

Definition at line 44 of file DbImplementation.h.

std::string DbImplementation::m_name [mutable, protected]
 

Object name.

Definition at line 50 of file DbImplementation.h.

IOODataBase * DbImplementation::m_ooDB [protected]
 

Pointer to OO DB implementation.

Definition at line 48 of file DbImplementation.h.

std::string DbImplementation::m_server [protected]
 

Driver's name.

Definition at line 54 of file DbImplementation.h.

unsigned char DbImplementation::m_type [protected]
 

Type the implementation belongs to.

Definition at line 46 of file DbImplementation.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