Versions Compared

Key

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

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

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


Anchor
a2672938c9f1893b8e716f592e29f63f9
a2672938c9f1893b8e716f592e29f63f9

void Geo::PackedIntegerArray< S >::Clear

...

public: void Clear()

...

Remove all elements.


Anchor
a2824c036939f15b5142f6c0ac1b2c6cd
a2824c036939f15b5142f6c0ac1b2c6cd

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

...

public: Geo::u32 GetSize() const

...

Return the number of values stored.


Anchor
aadbe49271749d510925abc19001d691d
aadbe49271749d510925abc19001d691d

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

...

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

...

Return the value at the specified index.


Anchor
a1c3c86fede07bdc5c5b342a8bdfd3312
a1c3c86fede07bdc5c5b342a8bdfd3312

Geo::PackedIntegerArray< S >::PackedIntegerArray

...

public: PackedIntegerArray()

...

Constructor.


Anchor
a4c53230b18f7d6c75ae92ef59d01339e
a4c53230b18f7d6c75ae92ef59d01339e

Geo::PackedIntegerArray< S >::PackedIntegerArray

...

public: PackedIntegerArray
(
    Geo::u32 capacity
)

...

Constructor.


Anchor
a32ea67c654901f09b43ef2c4b01c7bfb
a32ea67c654901f09b43ef2c4b01c7bfb

void Geo::PackedIntegerArray< S >::Resize

...

public: void Resize
(
    Geo::u32 size
)

...

Add elements to reach the specified size.


Anchor
af2e8d970cb6e7b7132c67156b9aff86d
af2e8d970cb6e7b7132c67156b9aff86d

void Geo::PackedIntegerArray< S >::SetValue

...

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

...

Set the value at the specified index.