[#BloombergLP-bdlc-FlatHashTable_GroupControl]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::FlatHashTable&lowbar;GroupControl
:relfileprefix: ../../
:mrdocs:

This class provides methods for making inquires to the data of a group control loading during construction&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashtable&lowbar;groupcontrol&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class FlatHashTable&lowbar;GroupControl;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/Storage.adoc[`Storage`] 
| Packed control&hyphen;byte storage type (SSE2 `&lowbar;&lowbar;m128i`)&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/2constructor.adoc[`FlatHashTable&lowbar;GroupControl`]         [.small]#[constructor]#
| Create a group control query object using the specified `data`&period;
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/available.adoc[`available`] 
| Return a bit mask of the `k&lowbar;SIZE` entries that are empty or erased&period; The bit at index `i` corresponds to the result for `data&lsqb;i&rsqb;`&period;
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/inUse.adoc[`inUse`] 
| Return a bit mask of the `k&lowbar;SIZE` entries that are in use (i&period;e&period;, not empty or erased)&period; The bit at index `i` corresponds to the result for `data&lsqb;i&rsqb;`&period;
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/match.adoc[`match`] 
| Return a bit mask of the `k&lowbar;SIZE` entries that have the specified `value`&period;
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/neverFull.adoc[`neverFull`] 
| Return `true` if this group control was never full (i&period;e&period;, has a value that is empty, but not erased)&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/k_EMPTY.adoc[`k&lowbar;EMPTY`] 
| Control&hyphen;byte value meaning the slot is empty&period;
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/k_ERASED.adoc[`k&lowbar;ERASED`] 
| Control&hyphen;byte value meaning the slot was erased&period;
| xref:BloombergLP/bdlc/FlatHashTable_GroupControl/k_SIZE.adoc[`k&lowbar;SIZE`] 
| Number of control bytes in one group (`sizeof(Storage)`)&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
