Objects of this class refer to an association (pair) in a SkipList. A bdlcc::SkipListPairHandle is implicitly convertible to a const Pair* and thus may be used anywhere in the SkipList API that a const Pair* is expected.
Declared in <bdlcc_skiplist.h>
template<
class KEY,
class DATA>
class SkipListPairHandle;
| Name | Description |
|---|---|
SkipListPairHandle [constructor] | Constructors |
~SkipListPairHandle [destructor] | Destroy this SkipListPairHandle. If this SkipListPairHandle refers to a pair in the list, release the reference. |
operator= | Change this SkipListPairHandle to refer to the same list and pair as the specified rhs. If this SkipListPairHandle initially refers to a pair, release the reference. Return *this. |
data | data overloads |
isValid | Return true if this PairHandle currently refers to a pair, and false otherwise. |
key | key overloads |
release | Release the reference (if any) managed by this SkipListPairHandle. |
releaseReferenceRaw | Invoke release and populate the specified list and reference pointers with the list and reference values of this SkipListPairHandle. |
operator bdlcc::SkipListPair<KEY, DATA> const* | Return the address of the pair referred to by this SkipListPairHandle, or 0 if this handle does not manage a reference. |
| Name | Description |
|---|---|
BloombergLP::bdlcc::SkipList | This class provides a generic thread-safe Skip List (an ordered associative container). It supports an almost complete set of value semantic operations, including copy construction, assignment, equality comparison, and ostream printing (but not BDEX serialization). |