BDE 4.14.0 Production release
|
#include <bdlcc_stripedunorderedcontainerimpl.h>
Public Member Functions | |
StripedUnorderedContainerImpl_Node (const KEY &key, const VALUE &value, StripedUnorderedContainerImpl_Node *nextPtr, bslma::Allocator *basicAllocator=0) | |
StripedUnorderedContainerImpl_Node (const KEY &key, bslmf::MovableRef< VALUE > value, StripedUnorderedContainerImpl_Node *nextPtr, bslma::Allocator *basicAllocator=0) | |
StripedUnorderedContainerImpl_Node (const KEY &key, StripedUnorderedContainerImpl_Node *nextPtr, bslma::Allocator *basicAllocator=0) | |
~StripedUnorderedContainerImpl_Node () | |
Destroy this object. | |
StripedUnorderedContainerImpl_Node ** | nextAddress () |
Return the address of the pointer to the next node. | |
void | setNext (StripedUnorderedContainerImpl_Node *nextPtr) |
Set this node's pointer-to-next-node to the specified nextPtr . | |
VALUE & | value () |
const KEY & | key () const |
Return a const reference to the key attribute of this object. | |
StripedUnorderedContainerImpl_Node * | next () const |
Return the pointer to the next node. | |
const VALUE & | value () const |
Return a const reference to the value attribute of this object. | |
bslma::Allocator * | allocator () const |
This class template represents a node in the singly-linked list of (KEY, VALUE)
elements for each bucket of a hash map.
|
inline |
|
inline |
Create a bdlcc::StripedUnorderedContainerImpl_Node
object having the specified key
and value
, and with the specified nextPtr
pointer to the next node. Optionally specify a basicAllocator
used to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
bdlcc::StripedUnorderedContainerImpl_Node< KEY, VALUE >::StripedUnorderedContainerImpl_Node | ( | const KEY & | key, |
StripedUnorderedContainerImpl_Node< KEY, VALUE > * | nextPtr, | ||
bslma::Allocator * | basicAllocator = 0 |
||
) |
Create a bdlcc::StripedUnorderedContainerImpl_Node
object having the specified key
and a value initialized to VALUE()
, and with the specified nextPtr
pointer to the next node. Optionally specify a basicAllocator
used to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
|
inline |
|
inline |
Return the allocator used by StripedUnorderedContainerImpl_Node
to allocate memory.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return a reference providing modifiable access to the value
attribute of this object.
|
inline |