31 sal_uInt16 nBlock =
nBit / 32;
32 sal_uInt32 nBitVal = 1U << (
nBit % 32);
37 if (
pBitmap[nBlock] & nBitVal )
49 sal_uInt16 nBlock =
nBit / 32;
50 sal_uInt32 nBitVal = 1U << (
nBit % 32);
54 sal_uInt32 *pNewMap =
new sal_uInt32[nBlock+1];
65 if ( (
pBitmap[nBlock] & nBitVal) == 0 )
78 sal_uInt16 nBlock =
nBit / 32;
79 sal_uInt32 nBitVal = 1U << (
nBit % 32);
83 return ( nBitVal &
pBitmap[nBlock] ) == nBitVal;
103 SAL_WARN(
"sfx",
"IndexBitSet contains more than SAL_MAX_UINT16 entries");
std::unique_ptr< sal_uInt32[]> pBitmap
sal_uInt16 GetFreeIndex()
IndexBitSet & operator-=(sal_uInt16 nBit)
bool Contains(sal_uInt16 nBit) const
IndexBitSet & operator|=(sal_uInt16 nBit)
#define SAL_WARN(area, stream)