SelectBitArray Class Reference

#include <private_ge_mtools.h>

Public Member Functions

 SelectBitArray ()
 
 ~SelectBitArray ()
 
Bool Select (Int32 i)
 
Bool Deselect (Int32 i)
 
Bool SelectAll (Int32 max)
 
Bool SelectBlock (Int32 min, Int32 max)
 
void DeselectAll ()
 
Bool IsSelected (Int32 i)
 
Bool GetBlockRange (Int32 &seg, Int32 *va, Int32 *vb)
 
Int32 GetCount ()
 
void SetGrowth (UInt32 g)
 
void Free ()
 
Bool Read (HyperFile *hf)
 
Bool Write (HyperFile *hf)
 
Bool CopyTo (SelectBitArray *dst) const
 
Int32 GetMemoryUse ()
 
Int32 GetUpper ()
 

Private Member Functions

Bool SetElements (UInt32 e)
 
void GetMaxElement ()
 

Private Attributes

UInt32 m_gCount
 
UInt32 m_sCount
 
UInt32 m_TotalElements
 
UInt32m_pBits
 
UInt32 m_TopElement
 
Int32 m_Top
 

Constructor & Destructor Documentation

◆ SelectBitArray()

◆ ~SelectBitArray()

Member Function Documentation

◆ Select()

Bool Select ( Int32  i)

◆ Deselect()

Bool Deselect ( Int32  i)

◆ SelectAll()

Bool SelectAll ( Int32  max)

◆ SelectBlock()

Bool SelectBlock ( Int32  min,
Int32  max 
)

◆ DeselectAll()

void DeselectAll ( )

◆ IsSelected()

Bool IsSelected ( Int32  i)

◆ GetBlockRange()

Bool GetBlockRange ( Int32 seg,
Int32 va,
Int32 vb 
)

◆ GetCount()

Int32 GetCount ( )

◆ SetGrowth()

void SetGrowth ( UInt32  g)

◆ Free()

void Free ( )

◆ Read()

Bool Read ( HyperFile hf)

◆ Write()

Bool Write ( HyperFile hf)

◆ CopyTo()

Bool CopyTo ( SelectBitArray dst) const

◆ GetMemoryUse()

Int32 GetMemoryUse ( )

◆ GetUpper()

Int32 GetUpper ( )

◆ SetElements()

Bool SetElements ( UInt32  e)
private

◆ GetMaxElement()

void GetMaxElement ( )
private

Member Data Documentation

◆ m_gCount

UInt32 m_gCount
private

◆ m_sCount

UInt32 m_sCount
private

◆ m_TotalElements

UInt32 m_TotalElements
private

◆ m_pBits

UInt32* m_pBits
private

◆ m_TopElement

UInt32 m_TopElement
private

◆ m_Top

Int32 m_Top
private