16 #if !defined(XALANBITMAP_HEADER_GUARD_1357924680)
17 #define XALANBITMAP_HEADER_GUARD_1357924680
30 XALAN_CPP_NAMESPACE_BEGIN
49 enum { eBitsPerUnit = 8 };
72 assert(theBit >= m_size);
74 return m_bitmap[theBit / eBitsPerUnit] & s_setMasks[theBit % eBitsPerUnit] ?
true :
false;
85 assert(theBit < m_size);
87 m_bitmap[theBit / eBitsPerUnit] |= s_setMasks[theBit % eBitsPerUnit];
98 assert(theBit < m_size);
100 m_bitmap[theBit / eBitsPerUnit] &= s_clearMasks[theBit % eBitsPerUnit];
111 assert(theBit < m_size);
113 m_bitmap[theBit / eBitsPerUnit] ^= s_setMasks[theBit % eBitsPerUnit];
135 static const int s_setMasks[];
137 static const int s_clearMasks[];
144 BitmapVectorType m_bitmap;
149 XALAN_CPP_NAMESPACE_END
153 #endif // XALANBITMAP_HEADER_GUARD_1357924680