#include <DbHandle.h>
Inheritance diagram for dbObjectHandle:

Public Methods | |
| virtual | ~dbObjectHandle () |
| Standard destructor. More... | |
| dbObjectHandle () | |
| Constructor with storage type. More... | |
| dbObjectHandle (unsigned short typ) | |
| Constructor with storage type. More... | |
| template<classT> | dbObjectHandle<T> (const dbObjectHandle<T>& copy) |
| Copy constructor. More... | |
| dbObjectHandle (const dbObjectHandle<UserClass>& copy) | |
| Copy constructor. More... | |
| template<classT> dbObjectHandle<UserClass>& | operator=<T> (const dbObjectHandle<T>& copy) |
| Generic assignment operator. More... | |
| dbObjectHandle<UserClass>& | operator= (const dbObjectHandle<UserClass>& copy) |
| Generic assignment operator. More... | |
| bool | operator== (const dbObjectHandle<DbObject>& copy) const |
| Equality operator. More... | |
| long | addRef () |
| Add reference count to object. More... | |
| long | release () |
| Release object. More... | |
| dbHandle<DbContainer>& | containedIn () const |
| Retrieve hosting container. More... | |
| DbResult | validateAssoc (const dbHandle<DbLink>& lnk,std::string& fname,std::string& cname,std::string& oname) |
| Validate an object association. More... | |
| DbResult | open (dbHandle<DbContainer>& cntH,const dbHandle<DbLink>& linkH,DbAccessMode mode = DbOOMs::READ) |
| Open handle. More... | |
Protected Methods | |
| void | setType (unsigned char type) const |
| Set handle type. More... | |
| void | setObject (const DbObject* obj) |
| Attach object to handle. More... | |
Private Attributes | |
| friend | DbContainer |
| friend | dbHandle<DbObject> |
| friend | dbHandle<DbContainer> |
Description: Base class for object handles.
Dependencies:
History :
+---------+----------------------------------------------+--------+ | Date | Comment | Who | +---------+----------------------------------------------+--------+ | 21/09/99| Initial version. | MF | +---------+----------------------------------------------+--------+Author: M.Frank Version: 1.0
Definition at line 92 of file DbHandle.h.
|
||||
|
Standard destructor.
Definition at line 116 of file DbHandle.h. |
|
||||
|
Constructor with storage type.
Definition at line 120 of file DbHandle.h. |
|
||||
|
Constructor with storage type.
Definition at line 123 of file DbHandle.h. |
|
||||||
|
Copy constructor.
Definition at line 127 of file DbHandle.h. |
|
||||
|
Copy constructor.
Definition at line 134 of file DbHandle.h. |
|
||||
|
Add reference count to object.
Definition at line 158 of file DbHandle.h. Referenced by DbContainer::DbContainer(), and DbDataBase::DbDataBase(). |
|
||||
|
Retrieve hosting container.
Definition at line 172 of file DbHandle.h. Referenced by DbAddress::DbAddress(), DbObject::addAssocEntry(), and DbObjectAccessor::validateAssoc(). |
|
||||||||
|
Open handle.
Definition at line 180 of file DbHandle.h. Referenced by DbCnvSvc::connectOutput(), DbCnvSvc::createIterator(), DbBaseConverter::createRep(), DbCnvSvc::initialize(), DbCnvSvc::instantiate(), dbHandle< DbDataBase >::open(), DbDirectoryCnv::updateObjRefs(), DbBaseConverter::updateObjRefs(), and DbBaseConverter::updateRep(). |
|
||||
|
Generic assignment operator.
Reimplemented in dbHandle. Definition at line 148 of file DbHandle.h. |
|
||||||
|
Generic assignment operator.
Reimplemented in dbHandle, and dbHandle< DbObject >. Definition at line 141 of file DbHandle.h. |
|
||||
|
Equality operator.
Definition at line 154 of file DbHandle.h. |
|
||||
|
Release object.
Definition at line 165 of file DbHandle.h. Referenced by DbContainer::~DbContainer(), and DbDataBase::~DbDataBase(). |
|
||||
|
Attach object to handle.
Definition at line 105 of file DbHandle.h. Referenced by dbHandle< DbObject >::dbHandle(), dbHandle::dbHandle(), dbObjectHandle(), open(), dbHandle::operator const dbObjectHandle(), dbHandle::operator dbObjectHandle(), dbHandle< DbObject >::operator=(), dbHandle::operator=(), operator=(), dbHandle< DbObject >::~dbHandle(), and ~dbObjectHandle(). |
|
||||
|
Set handle type.
Reimplemented from dbHandleBase. Definition at line 101 of file DbHandle.h. Referenced by DbContainer::addEntry(), DbContainer::find(), dbHandle::operator const dbObjectHandle(), dbHandle::operator dbObjectHandle(), dbHandle< DbSession >::operator=(), and DbContainer::updateEntry(). |
|
||||||||||
|
Validate an object association.
Definition at line 176 of file DbHandle.h. |
|
|||
|
Reimplemented in dbHandle, and dbHandle< DbObject >. Definition at line 96 of file DbHandle.h. |
|
|||
|
Reimplemented in dbHandle. Definition at line 98 of file DbHandle.h. |
|
|||
|
Reimplemented in dbHandle. Definition at line 97 of file DbHandle.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000