#include <d_Ref_NoTx.h>
Inheritance diagram for d_Ref_NoTx< T >:

Public Methods | |
| d_Ref_NoTx () | |
| d_Ref_NoTx (const T *iObject) | |
| d_Ref_NoTx (const d_Ref_NoTx< T > &iRef) | |
| d_Ref_NoTx (const d_Ref< T > &iRef) | |
| d_Ref_NoTx (const d_Ref_Any &iRef) | |
| d_Ref_NoTx< T > & | operator= (const T *iSource) |
| T * | operator-> () |
| T & | operator * () |
| T * | ptr () |
This class works such as d_Ref but manages no transactional objects.
LOCATION: d_Ref_NoTx.h
Usage: d_Ref_NoTx< <linked-class> > <property-name>;
WHERE:
<linked-class>: Name of class to link. Can be only a persistent class (inherited from d_Object)
<property-name>: name of property
EXAMPLES:
* Reference to Invoice object d_Ref_NoTx<Invoice> myInvoice;
ODMG: Extension
|
|||||||||
|
Default constructor. Creates a null reference. |
|
||||||||||
|
Creates a reference to object. |
|
||||||||||
|
Copy constructor. Copy the reference of . |
|
||||||||||
|
Creates a reference by the d_Ref object . |
|
||||||||||
|
Creates a reference by the d_Ref_Any object . |
|
|||||||||
|
Returns the persistent object in memory. If the object is not present in memory Orient ODBMS loads the object from storage to memory trasparently. If the reference is null then an exception d_Error_RefNull or d_Error_RefInvalid is raised. SEE ALSO: operator ->(), ptr() |
|
|||||||||
|
Returns the persistent object in memory. If the object is not present in memory Orient ODBMS loads the object from database to memory trasparently. If the reference is null then an exception d_Error_RefNull or d_Error_RefInvalid is raised. This operator permits to handle d_Ref<> as common C++ pointer. SEE ALSO: operator *(), ptr() |
|
||||||||||
|
Set the reference to object. |
|
|||||||||
|
Returns the persistent object in memory. If the object is not present in memory Orient ODBMS loads the object from storage to memory trasparently. If the reference is null then an exception d_Error_RefInvalid is raised. SEE ALSO: operator ->(), operator *() |
1.3-rc1