class SECBitArray
The SECBitArray class implements a boolean array utilizing the individual bits of a DWORD array to represent each boolean value in the array.
Defined in: SECBitmapArray.h
ArraySize_T
The maximum number of bits for the array.
DataType_T
The data type used to make up the array (e.g., DWORD, etc.)
Constructor.
static unsigned int GetUpperBound()
The upper bound of the bit array.
static unsigned int GetBitStorageElementCount()
The number of elements in the array of data elements that house the bits.
static unsigned int GetBitsPerDataType()
The number of bits per DataType element.
virtual BOOL GetBit(unsigned int nBit) const
Retrieves the value of a specific bit in the array.
virtual void SetBit(unsigned int nBit, BOOL bSet = TRUE)
Sets the state of a specific bit in the array.
BOOL GetArrayBitStates(BOOL bAllSet = FALSE) const
Tests if all bits in the array are set identically.
void ConvertFromChars(LPCTSTR lpszChars)
Set bits that correspond to the given set of characters.
void ConvertToChars(CString& strChars) const
Interpret the bit array as character set flags.
void SetBits(BOOL bSet)
Clears or sets all bits in the array.
DataType_T BitArray[SECBITARRAY_ELEMENTS(ArraySize_T,DataType_T)]
The array of data elements that house the bits for the bit array