Value‐semantic attribute class characterizing the key data of a hash table.

Synopsis

Declared in <bslalg_hashtableanchor.h>

class HashTableAnchor;

Description

This complex constrained in‐_core_ (value‐semantic) attribute class characterizes the key data elements of a hash table. See the section information on the class attributes. Note that the class invariant is the identically the complex constraint of this component.

This class: * supports a complete set of value‐semantic operations

  • except for bdex serialization and default construction * is in‐core * is exception‐neutral (agnostic) * is alias‐safe * is const thread‐safe For terminology see bsldoc_glossary.

Member Functions

Name

Description

HashTableAnchor [constructor]

Create a HashTableAnchor with the specified attributes.

bucketArrayAddress

Return the value of the bucketArrayAddress attribute of this object.

bucketArraySize

Return the value of the bucketArraySize attribute of this object.

listRootAddress

Return the value listRootAddress attribute of this object.

setBucketArrayAddressAndSize

Set the bucket array address and size attributes of this object.

setListRootAddress

Set the listRootAddress attribute of this object to the specified value.

swap

Efficiently exchange the value of this object with the value of the specified other object. This method provides the no‐throw exception‐safety guarantee.

operator BloombergLP::bslmf::NestedTraitDeclaration<HashTableAnchor, IsBitwiseCopyable>

Declare HashTableAnchor as bitwise copyable.

Non-Member Functions

Name

Description

operator!=

Return whether two HashTableAnchor objects do not have the same value.

operator==

Return whether two HashTableAnchor objects have the same value.

swap

Efficiently exchange the values of two HashTableAnchor objects.

Created with MrDocs