This is the documentation for Enlighten.

class Geo PackedIntegerVector

template<PackedIntegerSize, Geo::u32>
class Geo::PackedIntegerVector

Stores N unsigned integer values packed into 64-bit blocks.

Parameters
S

The number of bits into which each value is packed.

N

The maximum number of values that can be added.

Functions

Name Description
GetSize()

Return the number of values stores.

operator[](Geo::u32)

Return the value at the specified index.

PackedIntegerVector()

Constructor.

Push(Geo::u32)

Add the specified value.


Geo::u32 Geo::PackedIntegerVector< S, N >::GetSize


public: Geo::u32 GetSize() const


Return the number of values stores.


Geo::u32 Geo::PackedIntegerVector< S, N >::operator[]


public: Geo::u32 operator[]
(
    Geo::u32 index
) const


Return the value at the specified index.


Geo::PackedIntegerVector< S, N >::PackedIntegerVector


public: PackedIntegerVector()


Constructor.


void Geo::PackedIntegerVector< S, N >::Push


public: void Push
(
    Geo::u32 value
)


Add the specified value.