Function

CFBitVectorContainsBit

Returns whether a bit vector contains a particular bit value.

Declaration

Boolean CFBitVectorContainsBit(CFBitVectorRef bv, CFRange range, CFBit value);

Parameters

bv

The bit vector to search.

range

The range of bits in bv to search.

value

The bit value for which to search.

Return Value

true if the specified range of bits in bv contains value, otherwise false.

See Also

Getting Information About a Bit Vector

CFBitVectorGetBitAtIndex

Returns the bit value at a given index in a bit vector.

CFBitVectorGetBits

Returns the bit values in a range of indices in a bit vector.

CFBitVectorGetCount

Returns the number of bit values in a bit vector.

CFBitVectorGetCountOfBit

Counts the number of times a certain bit value occurs within a range of bits in a bit vector.

CFBitVectorGetFirstIndexOfBit

Locates the first occurrence of a certain bit value within a range of bits in a bit vector.

CFBitVectorGetLastIndexOfBit

Locates the last occurrence of a certain bit value within a range of bits in a bit vector.