#include <DbSessionObj.h>
Inheritance diagram for DbSession:

Private Methods | |
| DbSession (IOODataBase* db, IMessageSvc* msg, unsigned char type) | |
| Standard constructor. More... | |
| virtual | ~DbSession () |
| Standard destructor. More... | |
| long | addRef () const |
| Increase reference count. More... | |
| long | release () const |
| Decrease reference count. More... | |
| IDbSession* | info () |
| Access internals. More... | |
| IOODataBase* | db () |
| Allow access to the database implementation. More... | |
| IMessageSvc* | msgSvc () |
| Allow access to the message service. More... | |
| DbResult | open (DbAccessMode mode = DbOOMs::READ) |
| Open session. More... | |
| DbResult | close () |
| Close database session. More... | |
Private Attributes | |
| friend | DbSessionImpl |
| friend class declarations. More... | |
| friend | dbHandle<DbSession> |
| IOODataBase* | m_dbOOMs |
| Pointer to specific DbOOMs implementation. More... | |
| IMessageSvc* | m_msgSvc |
| Pointer to the message service to be used. More... | |
| IDbSession* | m_info |
| Pointer to implementation specific object. More... | |
Description: Implementation independent part of a database session object.
There is a ring of protection around the object. The object can only be accessed through its handle, the technology dependent code and the DbDataBase object hosting the container. This should ensure proper reference counting and inhibit non existing references flying around.
Dependencies:
History :
+---------+----------------------------------------------+--------+
| Date | Comment | Who |
+---------+----------------------------------------------+--------+
| 21/09/99| Initial version. | MF |
+---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 56 of file DbSessionObj.h.
|
|
Standard constructor.
Definition at line 32 of file DbSessionObj.cpp. |
|
|
Standard destructor.
Definition at line 52 of file DbSessionObj.cpp. |
|
|
Increase reference count.
Reimplemented from DbAccessObj. Definition at line 90 of file DbSessionObj.h. |
|
|
Close database session.
Definition at line 77 of file DbSessionObj.cpp. |
|
|
Allow access to the database implementation.
Definition at line 106 of file DbSessionObj.h. |
|
|
Access internals.
Definition at line 102 of file DbSessionObj.h. |
|
|
Allow access to the message service.
Definition at line 110 of file DbSessionObj.h. |
|
|
Open session.
Definition at line 58 of file DbSessionObj.cpp. |
|
|
Decrease reference count.
Reimplemented from DbAccessObj. Definition at line 94 of file DbSessionObj.h. |
|
|
friend class declarations.
Definition at line 58 of file DbSessionObj.h. |
|
|
Definition at line 59 of file DbSessionObj.h. |
|
|
Pointer to specific DbOOMs implementation.
Definition at line 62 of file DbSessionObj.h. |
|
|
Pointer to implementation specific object.
Definition at line 66 of file DbSessionObj.h. |
|
|
Pointer to the message service to be used.
Definition at line 64 of file DbSessionObj.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000