#include <DbBase.h>
Inheritance diagram for dbHandleBase:

Public Methods | |
| _DataType* | operator-> () |
| Dereference operator. More... | |
| const _DataType* | operator-> () const |
| Dereference operator(CONST). More... | |
| _DataType* | ptr () |
| Access to underlying object. More... | |
| const _DataType* | ptr () const |
| Access to underlying object (CONST). More... | |
| operator bool () const | |
| Validity check through operator bool. More... | |
| bool | operator! () const |
| Validity check through operator NOT. More... | |
| bool | isValid () const |
| Validity check (Objy like). More... | |
| bool | is_null () const |
| Validity check (Objy like). More... | |
| unsigned char | type () const |
| Inquire storage type of the handle. More... | |
Protected Types | |
| typedef T | _DataType |
| Data type definition. More... | |
Protected Methods | |
| dbHandleBase () | |
| Standard constructor. More... | |
| virtual | ~dbHandleBase () |
| Standard destructor. More... | |
| void | setType (unsigned char type) const |
| Set handle type. More... | |
Protected Attributes | |
| _DataType* | m_ptr |
| Data member: unfortunately has to be mutal. More... | |
| unsigned char | m_type |
| Data member: Technology type. More... | |
Description: Definition of the generic Db data handle.
Dependencies:
History :
+---------+----------------------------------------------+--------+
| Date | Comment | Who |
+---------+----------------------------------------------+--------+
| 21/04/99| Initial version. | MF |
+---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 36 of file DbBase.h.
|
|||
|
Data type definition.
|
|
||||
|
Standard constructor.
|
|
||||
|
Standard destructor.
|
|
||||
|
||||
|
Validity check (Objy like).
|
|
||||
|
Validity check through operator bool.
|
|
||||
|
Validity check through operator NOT.
|
|
||||
|
Dereference operator(CONST).
|
|
||||
|
Dereference operator.
|
|
||||
|
Access to underlying object (CONST).
|
|
||||
|
Access to underlying object.
Definition at line 67 of file DbBase.h. Referenced by dbHandle< DbDataBase >::open(), dbHandle< DbObject >::operator=(), dbHandle::operator=(), dbObjectHandle::operator=(), and DbContainer::remove(). |
|
||||
|
Set handle type.
Reimplemented in dbObjectHandle. Definition at line 54 of file DbBase.h. Referenced by dbHandle< DbObject >::dbHandle(), dbHandle::dbHandle(), dbObjectHandle::dbObjectHandle(), dbHandle< DbObject >::operator=(), dbHandle::operator=(), and dbObjectHandle::operator=(). |
|
||||
|
Inquire storage type of the handle.
Definition at line 91 of file DbBase.h. Referenced by DbAddress::DbAddress(), DbDataBase::DbDataBase(), DbFederation::DbFederation(), dbIter::next(), dbHandle< DbSession >::open(), dbObjectHandle::open(), dbHandle< DbDataBase >::open(), DbObject::operator new(), dbHandle< DbSession >::operator=(), dbHandle< DbObject >::operator=(), dbHandle::operator=(), dbObjectHandle::operator=(), OODataBaseImplementation::prepareLink(), DbContainer::remove(), dbIter< DbObject >::scan(), dbIter::scan(), and DbObjectGuard::type(). |
|
|||
|
Data member: unfortunately has to be mutal.
|
|
|||
|
Data member: Technology type.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000