#include <coherence/util/SortedBag.hpp>
Inherits Object, and Comparable.
Public Types | |
typedef spec::Handle | Handle |
UniqueElement Handle definition. | |
typedef spec::View | View |
UniqueElement View definition. | |
typedef spec::Holder | Holder |
UniqueElement Holder definition. | |
Public Member Functions | |
virtual int32_t | compareTo (Object::View vThat) const |
Protected Member Functions | |
UniqueElement (SortedBag::Handle hBag, Object::Holder oh) | |
Create a UniqueElement to represent the specified element. | |
Protected Attributes | |
const int64_t | f_nUniqueId |
The unique "id" for this element. | |
FinalHolder< Object > | f_ohElem |
The "actual" element. | |
WeakHandle< SortedBag > | f_hBagOuter |
The handle to the "outer-this" SortedBag. |
UniqueElement | ( | SortedBag::Handle | hBag, | |
Object::Holder | oh | |||
) | [protected] |
Create a UniqueElement to represent the specified element.
hBag | reference to the "outer this" | |
oh | the element |