#include <reference.h>

Public Member Functions | |
| dbFieldDescriptor * | dbDescribeComponents (dbFieldDescriptor *fd) |
| Internal method used to describe reference. | |
| dbReference & | operator= (dbReference const &ref) |
| Assignment operator. | |
| dbReference & | operator= (dbNullReference const &) |
| Operator for assigning null to reference. | |
| dbReference< T > & | unsafeAssign (dbAnyReference const &ref) |
| Unsafe assignment operator. | |
| bool | operator== (dbReference const &ref) const |
| Operator for comparision of two references of the same type. | |
| bool | operator!= (dbReference const &ref) const |
| Operator for comparision of two references of the same type. | |
| bool | operator== (dbNullReference const &) const |
| Operator for cecking if reference is null. | |
| bool | operator!= (dbNullReference const &) const |
| Operator for cecking if reference is not null. | |
| dbReference (dbNullReference const &) | |
| Constructor of null reference. | |
| dbReference (dbReference const &ref) | |
| Copy constructor from reference of the same type. | |
| dbReference (oid_t oid=0) | |
| Construstor of reference from OID. | |
| dbReference | ( | dbNullReference const & | ) | [inline] |
Constructor of null reference.
| dbReference | ( | dbReference< T > const & | ref | ) | [inline] |
Copy constructor from reference of the same type.
| dbReference | ( | oid_t | oid = 0 |
) | [inline] |
Construstor of reference from OID.
Use this constructor with care, because FastDB is not able to check if asigned OID belongs to the required table. If you assign OID of record friom some other table and then use this reference, results will be unpredicted (even database corruption is possible)
| dbFieldDescriptor* dbDescribeComponents | ( | dbFieldDescriptor * | fd | ) | [inline] |
| dbReference& operator= | ( | dbReference< T > const & | ref | ) | [inline] |
Assignment operator.
| ref | assigned reference of the same type |
| dbReference& operator= | ( | dbNullReference const & | ) | [inline] |
Operator for assigning null to reference.
| dbReference<T>& unsafeAssign | ( | dbAnyReference const & | ref | ) | [inline] |
Unsafe assignment operator.
Assign any refernce.
| ref | assigned reference. If it is not of the same type - result is unpredicted. |
| bool operator== | ( | dbReference< T > const & | ref | ) | const [inline] |
Operator for comparision of two references of the same type.
| bool operator!= | ( | dbReference< T > const & | ref | ) | const [inline] |
Operator for comparision of two references of the same type.
| bool operator== | ( | dbNullReference const & | ) | const [inline] |
Operator for cecking if reference is null.
| bool operator!= | ( | dbNullReference const & | ) | const [inline] |
Operator for cecking if reference is not null.