Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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


Anchor
a77abd2b2fed4549e12f1a6e5e29fab37
a77abd2b2fed4549e12f1a6e5e29fab37

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

...

public: Geo::u32 GetSize() const

...

Return the number of values stores.


Anchor
afd915383caf678170b791ae13f9c442a
afd915383caf678170b791ae13f9c442a

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

...

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

...

Return the value at the specified index.


Anchor
a32570ab717bd742b2585cde49170f632
a32570ab717bd742b2585cde49170f632

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

...

public: PackedIntegerVector()

...

Constructor.


Anchor
a5f06535be5a4afc45a9fba9b1ba48ae7
a5f06535be5a4afc45a9fba9b1ba48ae7

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

...

public: void Push
(
    Geo::u32 value
)

...

Add the specified value.