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. |
Anchor | ||||
---|---|---|---|---|
|
void Geo::PackedIntegerArray< S >::Clear
...
public: void Clear()
...
Remove all elements.
Anchor | ||||
---|---|---|---|---|
|
Geo::u32 Geo::PackedIntegerArray< S >::GetSize
...
public: Geo::u32 GetSize() const
...
Return the number of values stored.
Anchor | ||||
---|---|---|---|---|
|
Geo::u32 Geo::PackedIntegerArray< S >::GetValue
...
public: Geo::u32 GetValue
(
Geo::u32 index
) const
...
Return the value at the specified index.
Anchor | ||||
---|---|---|---|---|
|
Geo::PackedIntegerArray< S >::PackedIntegerArray
...
public: PackedIntegerArray()
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Geo::PackedIntegerArray< S >::PackedIntegerArray
...
public: PackedIntegerArray
(
Geo::u32 capacity
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
void Geo::PackedIntegerArray< S >::Resize
...
public: void Resize
(
Geo::u32 size
)
...
Add elements to reach the specified size.
Anchor | ||||
---|---|---|---|---|
|
void Geo::PackedIntegerArray< S >::SetValue
...
public: void SetValue
(
Geo::u32 index,
Geo::u32 value
)
...
Set the value at the specified index.