[#BloombergLP-bdlb-BitStringImpUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::BitStringImpUtil :relfileprefix: ../../ :mrdocs: Namespace for static bit‐manipulation helpers used by `BitStringUtil`. == Synopsis Declared in `<bdlb_bitstringimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BitStringImpUtil; ---- == Description This `struct` provides a namespace for static functions to be used solely in the implementation of `BitStringUtil`. The "Manipulators" are intended to be provided as arguments to templates in `bdlb_bitstringutil`, whereas the "Accessors" are to be called directly within that component. == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/BitStringImpUtil/_04enum.adoc[`Unnamed enum`] | Number of bits in a `uint64_t`. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/BitStringImpUtil/andEqBits.adoc[`andEqBits`] | Bitwise AND `numBits` of `srcValue` into those in `*dstValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/andEqWord.adoc[`andEqWord`] | Assign to `*dstValue` the value of `*dstValue` bitwise AND‐ed with `srcValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/find1AtMaxIndexRaw.adoc[`find1AtMaxIndexRaw`] | Return the index of the highest‐order set bit in a non‐zero value. | xref:BloombergLP/bdlb/BitStringImpUtil/find1AtMinIndexRaw.adoc[`find1AtMinIndexRaw`] | Return the index of the lowest‐order set bit in a non‐zero value. | xref:BloombergLP/bdlb/BitStringImpUtil/minusEqBits.adoc[`minusEqBits`] | Bitwise MINUS `numBits` of `srcValue` from those in `*dstValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/minusEqWord.adoc[`minusEqWord`] | Assign to `*dstValue` the value of `*dstValue` bitwise AND‐ed with the complement of `srcValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/orEqBits.adoc[`orEqBits`] | Bitwise OR `numBits` of `srcValue` into those in `*dstValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/orEqWord.adoc[`orEqWord`] | Assign to `*dstValue` the value of `*dstValue` bitwise OR‐ed with `srcValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/setEqBits.adoc[`setEqBits`] | Replace `numBits` in `*dstValue` with the low‐order bits of `srcValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/setEqWord.adoc[`setEqWord`] | Assign to `*dstValue` the value of `srcValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/xorEqBits.adoc[`xorEqBits`] | Bitwise XOR `numBits` of `srcValue` into those in `*dstValue`. | xref:BloombergLP/bdlb/BitStringImpUtil/xorEqWord.adoc[`xorEqWord`] | Assign to `*dstValue` the value of `*dstValue` bitwise XOR‐ed with `srcValue`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#