#include <CdbBdbSId.hh>
Public Member Functions | |
| CdbBdbSId (d_UShort theOriginId=0, d_UShort theLocalId=0) | |
| Normal & also default constructor. | |
| CdbBdbSId (const CdbId &theTransientId) | |
| Normal constructor. | |
| CdbBdbSId (const CdbBdbSId &theId) | |
| Copy constructor. | |
| ~CdbBdbSId () | |
| The destructor. | |
| CdbBdbSId & | operator= (const CdbBdbSId &theId) |
| The assignment operator (the same class). | |
| CdbBdbSId & | operator= (const CdbId &theTransientId) |
| The assignment operator (the transient counterpart). | |
| bool | operator== (const CdbBdbSId &theId) const |
| The "equal" operator. | |
| bool | operator!= (const CdbBdbSId &theId) const |
| The "not-equal" operator. | |
| bool | operator< (const CdbBdbSId &theId) const |
| The "less" operator. | |
| CdbId | transient () const |
| Get a transient identifier. | |
Public Attributes | |
| d_UShort | origin |
| d_UShort | local |
This is "extended" object identifier. It defines an address of some entiry in the distributed database as:
16-bit "origin" identifier 16-bit "local" object's ide in the scope of an origin
Objects of this class can be used either as embedded ones in persistent objects or in the transient code.
Objects of this class can also be stored in the "B-tree". The interface of the "id" class meet the necessary requirements (constructors, operators and supplementary class B-tree "order").
The class also provides ways to convert back and forth to and from its transient coutrepart class CdbId.
Definition at line 33 of file CdbBdbSId.hh.
|
||||||||||||
|
Normal & also default constructor.
Definition at line 40 of file CdbBdbSId.hh. |
|
|
Normal constructor. Build an object from its transient counterpart Definition at line 50 of file CdbBdbSId.hh. |
|
|
Copy constructor.
Definition at line 58 of file CdbBdbSId.hh. |
|
|
The destructor. NOTE: The destructor is NOT virtual because this is an embedded class. Definition at line 69 of file CdbBdbSId.hh. |
|
|
The "not-equal" operator.
Definition at line 106 of file CdbBdbSId.hh. References operator==(). |
|
|
The "less" operator. This operator is required to insert objects of this class into a B-tree. Definition at line 116 of file CdbBdbSId.hh. |
|
|
The assignment operator (the transient counterpart).
Definition at line 86 of file CdbBdbSId.hh. References CdbId::local, local, CdbId::origin, and origin. |
|
|
The assignment operator (the same class).
Definition at line 74 of file CdbBdbSId.hh. |
|
|
The "equal" operator. This operator is required to insert objects of this class into a B-tree. Definition at line 98 of file CdbBdbSId.hh. Referenced by operator!=(). |
|
|
Get a transient identifier.
Definition at line 123 of file CdbBdbSId.hh. |
|
|
Definition at line 131 of file CdbBdbSId.hh. Referenced by CdbBdbSId(), CdbBdbSFolder::findCondition(), main(), operator<(), operator<<(), operator=(), operator==(), CdbBdbSCondition::physicalId(), and CdbBdbSCondition::storeObject(). |
|
|
Definition at line 130 of file CdbBdbSId.hh. Referenced by CdbBdbSId(), CdbBdbSCondition::createRevision(), CdbBdbSFolder::findCondition(), main(), operator<(), operator<<(), operator=(), operator==(), CdbBdbSCondition::physicalId(), and CdbBdbSCondition::storeObject(). |
1.3-rc3