This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

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
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


public: PackedIntegerArray
(
    Geo::u32 capacity
)


Constructor.


void Geo::PackedIntegerArray< S >::Resize


public: void Resize
(
    Geo::u32 size
)


Add elements to reach the specified size.


void Geo::PackedIntegerArray< S >::SetValue


public: void SetValue
(
    Geo::u32 index,
    Geo::u32 value
)


Set the value at the specified index.

  • No labels