class Geo GeoBitArray

This is the documentation for Enlighten.

class Geo GeoBitArray

class Geo::GeoBitArray

A simple bit array wrapper, stored in an array of u32s.

Functions

Name

Description

Name

Description

~GeoBitArray()

Basic destructor.

ClearAllItems()

Clear all bits.

ClearItem(s32)

Clear a bit.

ClearUp()

Delete any memory to reset to initial empty state.

ComputeBitArrayLength(s32)

Compute the length of the s32 array that numItems will require.

CountNumBitsSet()

Count and return the number of bits set.

GeoBitArray()

Default constructor.

GeoBitArray(const GeoBitArray &)

Copy constructor.

GetBitArray()

Read-write access to the bit array itself.

GetBitArray()

Read-only access to the bit array itself.

GetNumItems()

Read-only access to num items.

Initialise(s32)

(Re-)Construct a zeroed bit array for numItems.

operator=(const GeoBitArray &)

Assignment from another GeoBitArray.

SetItem(s32)

Set a bit.

TestItem(s32)

Test whether a bit has been set.



Geo::GeoBitArray::~GeoBitArray


public: ~GeoBitArray()


Basic destructor.



void Geo::GeoBitArray::ClearAllItems


public: void ClearAllItems()


Clear all bits.



void Geo::GeoBitArray::ClearItem


public: void ClearItem
(
    s32 itemIdx
)


Clear a bit.



void Geo::GeoBitArray::ClearUp


public: void ClearUp()