VR-Vantage
Loading...
Searching...
No Matches
ImBitArray< BITCOUNT > Struct Template Reference

Public Member Functions

 ImBitArray ()
void ClearAllBits ()
void SetAllBits ()
bool TestBit (int n) const
void SetBit (int n)
void ClearBit (int n)
void SetBitRange (int n, int n2)

Public Attributes

ImU32 Storage [(BITCOUNT+31) > > 5]

Constructor & Destructor Documentation

◆ ImBitArray()

template<int BITCOUNT>
ImBitArray< BITCOUNT >::ImBitArray ( )
inline

References ClearAllBits().

Member Function Documentation

◆ ClearAllBits()

template<int BITCOUNT>
void ImBitArray< BITCOUNT >::ClearAllBits ( )
inline

References Storage.

Referenced by ImBitArray().

◆ SetAllBits()

template<int BITCOUNT>
void ImBitArray< BITCOUNT >::SetAllBits ( )
inline

References Storage.

◆ TestBit()

template<int BITCOUNT>
bool ImBitArray< BITCOUNT >::TestBit ( int n) const
inline

◆ SetBit()

template<int BITCOUNT>
void ImBitArray< BITCOUNT >::SetBit ( int n)
inline

◆ ClearBit()

template<int BITCOUNT>
void ImBitArray< BITCOUNT >::ClearBit ( int n)
inline

◆ SetBitRange()

template<int BITCOUNT>
void ImBitArray< BITCOUNT >::SetBitRange ( int n,
int n2 )
inline

References ImBitArraySetBitRange(), and Storage.

Member Data Documentation

◆ Storage

template<int BITCOUNT>
ImU32 ImBitArray< BITCOUNT >::Storage[(BITCOUNT+31) > > 5]

The documentation for this struct was generated from the following file: