#include <cRefBase.h>
Inheritance diagram for RefBase:
Public Methods | |
RefBase () | |
RefBase (const RefBase &Dbp) | |
RefBase (const Object *const DbObj) | |
RefBase (class Connection *aConnection, class ProtoBase *aPrototype, char *aSelectKeyValues, unsigned short aStrategies) | |
RefBase (class Connection *aConnection, ObjectIdentification *anIdentification) | |
RefBase (class Connection *aConnection, const long anOid, class ProtoBase *aPrototype) | |
virtual | ~RefBase () |
virtual bool | Init (class Connection *aConnection, class ProtoBase *aPrototype, char *aSelectKeyValues) |
virtual Object & | ReferencedObject () const |
Object * | IsInMemory () const |
ObjectIdentification | ObjectID () const |
virtual class ProtoBase * | Prototype () const |
virtual bool | IsDirty () const |
virtual bool | MarkAsDirty () |
virtual bool | Refresh () |
virtual bool | Update () |
virtual bool | Free () |
virtual bool | Delete () |
Object * | MemoryLock () |
bool | MemoryUnlock () |
virtual unsigned int | MemoryLocked () const |
virtual bool | RemoveAllMemoryLocks () |
virtual class RefBase | BePersistent (class Connection *DbCon) |
bool | operator== (const class RefBase &DbPtr) const |
bool | operator!= (const class RefBase &DbPtr) const |
virtual class Connection * | Connection () const |
virtual bool | IsTransient () const |
virtual bool | IsPersistent () const |
virtual enum UpdatingStrategy | CurrentUpdatingStrategy () const |
virtual bool | SetUpdatingStrategy (enum UpdatingStrategy anUpdateStrategy) |
virtual enum WaitingStrategy | CurrentWaitingStrategy () const |
virtual bool | SetWaitingStrategy (enum WaitingStrategy aWaitingStrategy) |
virtual enum LockingStrategy | CurrentLockingStrategy () const |
virtual bool | SetLockingStrategy (enum LockingStrategy aLockingStrategy) |
virtual enum ReadingStrategy | CurrentReadingStrategy () const |
virtual bool | SetReadingStrategy (enum ReadingStrategy aReadingStrategy) |
virtual bool | IsAncestor (const ObjRef &descendant) const |
Query | operator () const |
Query | operator (const QueRefProto &Q) const |
Public Attributes | |
Query operator &&const QueRefProto &Q | const |
Protected Methods | |
virtual class Object * | _Object () |
virtual class RefBase & | _Virtualise () |
virtual char * | _KeyValues () const |
virtual bool | _MarkAsClean () |
virtual bool | _Free () |
long int | _PtrToOid (const ObjRef &ref) const |
RefBase | _OidToPtr (const long int oid, class ProtoBase *prot) const |
Object * | _OidToMemPtr (const long int oid, class ProtoBase *prot) const |
virtual char * | _Where () const |
virtual char * | _OrderBy () const |
virtual char * | _Select () const |
virtual char * | _From () const |
Protected Attributes | |
ObjectIdentification | _ObjectIdentification |
unsigned short | _Strategies |
Connection * | _Connection |
Friends | |
class | ObjectBuffer |
class | Object |
class | ProtoBase |
class | ResultBase |
class | OneToOneRelationBase |
class | OneToManyRelationBase |
class | ManyToOneRelationBase |
class | ManyToManyRelationBase |
class | ChainedRelationBase |
|
Definition at line 41 of file cRefBase.cpp. References ObjRef::_Connection, and ObjRef::_Strategies. |
|
Definition at line 70 of file cRefBase.cpp. References ObjRef::_Connection, and ObjRef::_Strategies. |
|
Definition at line 82 of file cRefBase.cpp. References ObjRef::_Connection, and ObjRef::_Strategies. |
|
Definition at line 55 of file cRefBase.cpp. References ObjRef::_Connection, and ObjRef::_Strategies. |
|
Definition at line 110 of file cRefBase.cpp. References ObjRef::_Connection. |
|
Definition at line 122 of file cRefBase.cpp. References ObjRef::_Connection. |
|
Definition at line 139 of file cRefBase.cpp. |
|
Implements ObjRef. Definition at line 356 of file cRefBase.cpp. References Object::_Free(), and IsInMemory(). |
|
Reimplemented in ComplexQuery. Definition at line 51 of file cQueRefProto.h. Referenced by ProtoBase::_StmtSelectPtr(). |
|
|
Implements ObjRef. Definition at line 306 of file cRefBase.cpp. References Object::_MarkAsClean(), and IsInMemory(). Referenced by DatabaseObject::BePersistent(). |
|
Definition at line 89 of file cRefBase.h. References ObjectIdentification::_object. Referenced by Result< T >::operator *(), Ref< T >::operator *(), Result< T >::operator->(), and Ref< T >::operator->(). |
|
|
|
|
|
Implements QueRefProto. |
|
|
|
Reimplemented in ComplexQuery. Definition at line 49 of file cQueRefProto.h. Referenced by ProtoBase::_StmtSelectPtr(). |
|
Definition at line 149 of file cRefBase.cpp. References Connection::_Close(), Connection::_Execute(), Connection::_FetchNext(), _ObjectIdentification, Connection::_Open(), Connection::_PreFetchBind(), Connection::_Prepare(), ObjectIdentification::_prototype, ObjectIdentification::_SelectKeyValues, ObjRef::Connection(), ProtoBase::IsPersistentObject(), MAX_CLASS_NAME_LEN, PERSISTENT_OBJECT_TABLE, Prototype(), StrCat(), StrFree(), TL_WARNING, and TYPE_STRING. Referenced by Object::_Virtualise(). |
|
Implements QueRefProto. Definition at line 62 of file cObjRef.cpp. References StrCat(), StrCpy(), StrDecode(), StrFree(), and StrSplit(). |
|
Implements ObjRef. Definition at line 183 of file cRefBase.h. |
|
Definition at line 80 of file cObjRef.h. Referenced by _Virtualise(), Object::Address(), IsInMemory(), and PersistentObject::Update(). |
|
Definition at line 199 of file cObjRef.h. References LockingStrategy, and LS_MASK. Referenced by Object::_Refresh(). |
|
Definition at line 204 of file cObjRef.h. References ReadingStrategy, and RS_MASK. Referenced by Object::_Refresh(). |
|
Definition at line 188 of file cObjRef.h. References UpdatingStrategy, and US_MASK. |
|
Definition at line 194 of file cObjRef.h. References WaitingStrategy, and WS_MASK. |
|
Implements ObjRef. Definition at line 371 of file cRefBase.cpp. References ProtoBase::_DeleteAll(), IsInMemory(), ObjRef::IsTransient(), and Prototype(). |
|
Implements ObjRef. Definition at line 344 of file cRefBase.cpp. References Object::Free(), and IsInMemory(). |
|
Definition at line 98 of file cRefBase.cpp. References ObjRef::_Connection, ObjectIdentification::_Init(), and _ObjectIdentification. |
|
Definition at line 86 of file cObjRef.cpp. |
|
Implements ObjRef. Definition at line 292 of file cRefBase.cpp. References Object::IsDirty(), and IsInMemory(). |
|
Implements ObjRef. Definition at line 267 of file cRefBase.cpp. References ObjectIdentification::_object, _ObjectIdentification, and ObjRef::Connection(). Referenced by _Free(), _MarkAsClean(), Delete(), Free(), IsDirty(), MarkAsDirty(), MemoryLocked(), MemoryUnlock(), Refresh(), RemoveAllMemoryLocks(), and Update(). |
|
Reimplemented in ImmutableObject, and Object. Definition at line 168 of file cObjRef.h. Referenced by PersistentObject::BePersistent(), Result< T >::operator *(), Ref< T >::operator *(), Result< T >::operator->(), Ref< T >::operator->(), and ReferencedObject(). |
|
Reimplemented in ImmutableObject, and Object. Definition at line 159 of file cObjRef.h. Referenced by OneToOneRelationBase::_LGetAll(), ManyToManyRelationBase::_LGetAll(), ChainedRelationBase::_LGetAll(), OneToOneRelationBase::_RGetAll(), ManyToManyRelationBase::_RGetAll(), ChainedRelationBase::_RGetAll(), DatabaseObject::BePersistent(), Delete(), OneToOneRelationBase::DeleteCouple(), OneToManyRelationBase::DeleteCouple(), ManyToOneRelationBase::DeleteCouple(), OneToOneRelationBase::ExistsCouple(), OneToManyRelationBase::ExistsCouple(), ManyToOneRelationBase::ExistsCouple(), ManyToManyRelationBase::ExistsCouple(), and ChainedRelationBase::ExistsCouple(). |
|
Implements ObjRef. Definition at line 299 of file cRefBase.cpp. References IsInMemory(), and Object::MarkAsDirty(). |
|
Implements ObjRef. Definition at line 400 of file cRefBase.cpp. References Object::MemoryLock(), and ReferencedObject(). |
|
Implements ObjRef. Definition at line 438 of file cRefBase.cpp. References IsInMemory(). |
|
Implements ObjRef. Definition at line 414 of file cRefBase.cpp. References IsInMemory(). |
|
Implements ObjRef. Definition at line 253 of file cRefBase.cpp. References _ObjectIdentification. |
|
|
|
|
|
Reimplemented in ResultBase. Definition at line 495 of file cRefBase.cpp. References ObjRef::_Connection, and _ObjectIdentification. |
|
Reimplemented in ResultBase. Definition at line 487 of file cRefBase.cpp. References ObjRef::_Connection, and _ObjectIdentification. |
|
Implements ObjRef. Definition at line 281 of file cRefBase.cpp. Referenced by _Virtualise(), DatabaseObject::BePersistent(), and Delete(). |
|
Definition at line 215 of file cRefBase.cpp. References ObjectIdentification::_object, _ObjectIdentification, and ObjRef::IsPersistent(). Referenced by MemoryLock(). |
|
Implements ObjRef. Definition at line 315 of file cRefBase.cpp. References IsInMemory(), and Object::Refresh(). |
|
Reimplemented from ObjRef. Definition at line 463 of file cRefBase.cpp. References IsInMemory(). |
|
Definition at line 195 of file cObjRef.cpp. References ObjRef::_Connection, ObjRef::_Strategies, Connection::CurrentLockingStrategy(), DEFAULT_LOCKING_STRATEGY, LockingStrategy, LS_Current, LS_Default, LS_Inherited, and LS_MASK. Referenced by DatabaseObject::DatabaseObject(). |
|
Definition at line 218 of file cObjRef.cpp. References ObjRef::_Connection, ObjRef::_Strategies, Connection::CurrentReadingStrategy(), DEFAULT_READING_STRATEGY, ReadingStrategy, RS_Current, RS_Default, RS_Inherited, and RS_MASK. |
|
Definition at line 149 of file cObjRef.cpp. References ObjRef::_Connection, ObjRef::_Strategies, Connection::CurrentUpdatingStrategy(), DEFAULT_UPDATING_STRATEGY, UpdatingStrategy, US_Current, US_Default, US_Inherited, and US_MASK. Referenced by DatabaseObject::DatabaseObject(). |
|
Definition at line 172 of file cObjRef.cpp. References ObjRef::_Connection, ObjRef::_Strategies, Connection::CurrentWaitingStrategy(), DEFAULT_WAITING_STRATEGY, WaitingStrategy, WS_Current, WS_Default, WS_Inherited, and WS_MASK. Referenced by DatabaseObject::DatabaseObject(). |
|
Implements ObjRef. Definition at line 329 of file cRefBase.cpp. References IsInMemory(), and Object::Update(). |
|
Reimplemented from QueRefProto. Definition at line 49 of file cRefBase.h. |
|
Reimplemented from QueRefProto. Definition at line 48 of file cRefBase.h. |
|
Reimplemented from QueRefProto. Definition at line 47 of file cRefBase.h. |
|
Reimplemented from QueRefProto. Reimplemented in ResultBase. Definition at line 42 of file cRefBase.h. |
|
Reimplemented from ObjRef. Definition at line 41 of file cRefBase.h. |
|
Reimplemented from QueRefProto. Definition at line 46 of file cRefBase.h. |
|
Reimplemented from QueRefProto. Definition at line 45 of file cRefBase.h. |
|
Reimplemented from ObjRef. Reimplemented in ResultBase. Definition at line 43 of file cRefBase.h. |
|
Definition at line 44 of file cRefBase.h. |
|
Definition at line 54 of file cObjRef.h. Referenced by PersistentObject::_VersionsMatch(), DatabaseObject::BePersistent(), Init(), ResultBase::Next(), ObjRef::ObjRef(), ResultBase::operator!=(), operator!=(), ResultBase::operator==(), operator==(), RefBase(), ObjRef::SetLockingStrategy(), ObjRef::SetReadingStrategy(), ObjRef::SetUpdatingStrategy(), and ObjRef::SetWaitingStrategy(). |
|
Definition at line 52 of file cRefBase.h. Referenced by Object::_SelectKeyValues(), _Virtualise(), Init(), IsInMemory(), ResultBase::Next(), ObjectID(), ResultBase::operator!=(), operator!=(), ResultBase::operator==(), operator==(), and ReferencedObject(). |
|
Definition at line 52 of file cObjRef.h. Referenced by Object::Address(), ObjRef::ObjRef(), RefBase(), ObjRef::SetLockingStrategy(), ObjRef::SetReadingStrategy(), ObjRef::SetUpdatingStrategy(), and ObjRef::SetWaitingStrategy(). |
|
Definition at line 44 of file cQueRefProto.h. |