#include <coherence/io/pof/ReferenceLibrary.hpp>
Inherits Object.
Public Types | |
typedef spec::Handle | Handle |
ReferenceLibrary Handle definition. | |
typedef spec::View | View |
ReferenceLibrary View definition. | |
typedef spec::Holder | Holder |
ReferenceLibrary Holder definition. | |
Public Member Functions | |
virtual int32_t | getIdentity (Object::View v) const |
Look up an identity for an object. | |
virtual int32_t | registerReference (Object::View v) |
Register an object. | |
Protected Attributes | |
int32_t | m_cRefs |
The reference counter. | |
FinalHandle < IdentityHashMap > | f_hMapIdentities |
A map from objects that can be referenced to their Integer identities. |
virtual int32_t getIdentity | ( | Object::View | v | ) | const [virtual] |
Look up an identity for an object.
v | the object |
virtual int32_t registerReference | ( | Object::View | v | ) | [virtual] |
Register an object.
v | the object |
IllegalStateException | if the object is already registered |