1 #ifndef GIM_BITSET_H_INCLUDED 2 #define GIM_BITSET_H_INCLUDED 37 #define GUINT_BIT_COUNT 32 38 #define GUINT_EXPONENT 5 62 while (oldsize < m_container.
size())
64 m_container[oldsize] = 0;
76 for (
GUINT i = 0; i < m_container.
size(); ++i)
78 m_container[i] = 0xffffffff;
84 for (
GUINT i = 0; i < m_container.
size(); ++i)
90 inline void set(
GUINT bit_index)
92 if (bit_index >=
size())
102 if (bit_index >=
size())
117 #endif // GIM_CONTAINERS_H_INCLUDED
void clear(GUINT bit_index)
void resize(GUINT size, bool call_constructor=true, const T &fillData=T())
gim_array< GUINT > m_container
bool resize(GUINT newsize)
gim_bitset(GUINT bits_count)