This class provides methods for making inquires to the data of a group control loading during construction.
Declared in <bdlc_flathashtable_groupcontrol.h>
class FlatHashTable_GroupControl;
| Name | Description |
|---|---|
Storage | Packed control-byte storage type (SSE2 __m128i). |
| Name | Description |
|---|---|
FlatHashTable_GroupControl [constructor] | Create a group control query object using the specified data. |
available | Return a bit mask of the k_SIZE entries that are empty or erased. The bit at index i corresponds to the result for data[i]. |
inUse | Return a bit mask of the k_SIZE entries that are in use (i.e., not empty or erased). The bit at index i corresponds to the result for data[i]. |
match | Return a bit mask of the k_SIZE entries that have the specified value. |
neverFull | Return true if this group control was never full (i.e., has a value that is empty, but not erased). |
| Name | Description |
|---|---|
k_EMPTY | Control-byte value meaning the slot is empty. |
k_ERASED | Control-byte value meaning the slot was erased. |
k_SIZE | Number of control bytes in one group (sizeof(Storage)). |