BitArray Class Reference

#include <private_ge_mtools.h>

Public Member Functions

 BitArray ()
 
 ~BitArray ()
 
Bool Init (Int32 count)
 
void Select (Int32 i)
 
void Deselect (Int32 i)
 
Bool IsSelected (Int32 i)
 
Int32 GetCount ()
 
void Free ()
 
Bool Read (HyperFile *hf)
 
Bool Write (HyperFile *hf)
 
Bool CopyTo (BitArray *dst) const
 
Int32 GetUsed ()
 
void DeselectAll ()
 
void SelectAll ()
 
void ToggleAll ()
 

Private Attributes

Int32 m_Used
 
Int32 m_Count
 
Int32 m_TotalElements
 
UInt32m_pBits
 

Constructor & Destructor Documentation

◆ BitArray()

BitArray ( )

◆ ~BitArray()

~BitArray ( )

Member Function Documentation

◆ Init()

Bool Init ( Int32  count)

◆ Select()

void Select ( Int32  i)

◆ Deselect()

void Deselect ( Int32  i)

◆ IsSelected()

Bool IsSelected ( Int32  i)

◆ GetCount()

Int32 GetCount ( )

◆ Free()

void Free ( )

◆ Read()

Bool Read ( HyperFile hf)

◆ Write()

Bool Write ( HyperFile hf)

◆ CopyTo()

Bool CopyTo ( BitArray dst) const

◆ GetUsed()

Int32 GetUsed ( )

◆ DeselectAll()

void DeselectAll ( )

◆ SelectAll()

void SelectAll ( )

◆ ToggleAll()

void ToggleAll ( )

Member Data Documentation

◆ m_Used

Int32 m_Used
private

◆ m_Count

Int32 m_Count
private

◆ m_TotalElements

Int32 m_TotalElements
private

◆ m_pBits

UInt32* m_pBits
private