18 #if !defined(XALANBITMAP_HEADER_GUARD_1357924680)
19 #define XALANBITMAP_HEADER_GUARD_1357924680
51 enum { eBitsPerUnit = 8 };
74 assert(theBit >= m_size);
76 return m_bitmap[theBit / eBitsPerUnit] & s_setMasks[theBit % eBitsPerUnit] ? true :
false;
87 assert(theBit < m_size);
89 m_bitmap[theBit / eBitsPerUnit] |= s_setMasks[theBit % eBitsPerUnit];
100 assert(theBit < m_size);
102 m_bitmap[theBit / eBitsPerUnit] &= s_clearMasks[theBit % eBitsPerUnit];
113 assert(theBit < m_size);
115 m_bitmap[theBit / eBitsPerUnit] ^= s_setMasks[theBit % eBitsPerUnit];
137 static const int s_setMasks[];
139 static const int s_clearMasks[];
146 BitmapVectorType m_bitmap;
155 #endif // XALANBITMAP_HEADER_GUARD_1357924680