class Geo PackedIntegerArray

This is the documentation for Enlighten.

class Geo PackedIntegerArray

template<PackedIntegerSize>
class Geo::PackedIntegerArray

Stores unsigned integer values packed into 64-bit blocks.

 

Parameters

 

S

The number of bits into which each value is packed.

 

Functions

Name

Description

Name

Description

Clear()

Remove all elements.

GetSize()

Return the number of values stored.

GetValue(Geo::u32)

Return the value at the specified index.

PackedIntegerArray()

Constructor.

PackedIntegerArray(Geo::u32)

Constructor.

Resize(Geo::u32)

Add elements to reach the specified size.

SetValue(Geo::u32, Geo::u32)

Set the value at the specified index.



void Geo::PackedIntegerArray< S >::Clear


public: void Clear()


Remove all elements.



Geo::u32 Geo::PackedIntegerArray< S >::GetSize


public: Geo::u32 GetSize() const


Return the number of values stored.



Geo::u32 Geo::PackedIntegerArray< S >::GetValue


public: Geo::u32 GetValue
(
    Geo::u32 index
) const


Return the value at the specified index.



Geo::PackedIntegerArray< S >::PackedIntegerArray


public: PackedIntegerArray()


Constructor.



Geo::PackedIntegerArray< S >::PackedIntegerArray