Navigation
API > API/Runtime > API/Runtime/GeometryCore
Blocked array with fixed, power-of-two sized blocks.
Iterator functions suitable for use with range-based for are provided
| Name | TDynamicVector |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Util/DynamicVector.h |
| Include Path | #include "Util/DynamicVector.h" |
Syntax
template<typename Type, int32 BlockSize>
class TDynamicVector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDynamicVector
(
TDynamicVector&& Moved |
Util/DynamicVector.h | ||
TDynamicVector
(
const TDynamicVector& Copy |
Util/DynamicVector.h | ||
TDynamicVector
(
TArrayView< const Type > Array |
Util/DynamicVector.h | ||
TDynamicVector
(
const TArray< Type >& Array |
Util/DynamicVector.h | ||
| Util/DynamicVector.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TDynamicVector() |
Util/DynamicVector.h |
Classes
| Name | Remarks |
|---|---|
| FConstIterator | FConstIterator class iterates over values of vector |
| FIterator | FIterator class iterates over values of vector |
Structs
| Name | Remarks |
|---|---|
| TBlock |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ElementType | Type | Util/DynamicVector.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Blocks | TArray< TBlock * > | Util/DynamicVector.h | ||
| CurBlock | unsigned int | Util/DynamicVector.h | ||
| CurBlockUsed | unsigned int | Util/DynamicVector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
TArrayView< const Type > Data |
Util/DynamicVector.h | ||
| Util/DynamicVector.h | |||
void Add
(
const TDynamicVector< Type, BlockSizeData >& Data |
Util/DynamicVector.h | ||
void Add
(
const Type& Data |
Util/DynamicVector.h | ||
void Apply
(
const Func& ApplyFunc |
Apply ApplyFunc() to each member sequentially | Util/DynamicVector.h | |
const Type & Back() |
Util/DynamicVector.h | ||
| Util/DynamicVector.h | |||
| Util/DynamicVector.h | |||
void Clear() |
Util/DynamicVector.h | ||
Type & ElementAt
(
unsigned int Index, |
Util/DynamicVector.h | ||
| Util/DynamicVector.h | |||
| Util/DynamicVector.h | |||
void Fill
(
const Type& Value |
Util/DynamicVector.h | ||
const Type & Front() |
Util/DynamicVector.h | ||
size_t GetByteCount() |
Util/DynamicVector.h | ||
size_t GetLength() |
Util/DynamicVector.h | ||
void InsertAt
(
const Type& Data, |
Util/DynamicVector.h | ||
void InsertAt
(
const Type& Data, |
Util/DynamicVector.h | ||
bool IsEmpty() |
Util/DynamicVector.h | ||
size_t Num() |
Util/DynamicVector.h | ||
void PopBack() |
Util/DynamicVector.h | ||
void Resize
(
unsigned int Count |
Util/DynamicVector.h | ||
void Resize
(
unsigned int Count, |
Util/DynamicVector.h | ||
void Serialize
(
FArchive& Ar |
Serialize vector to and from an archive | Util/DynamicVector.h | |
bool SetMinimumSize
(
unsigned int Count, |
Resize if Num() is less than Count; returns true if resize occurred. | Util/DynamicVector.h | |
void SetNum
(
unsigned int Count |
Util/DynamicVector.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GetBlockIndex
(
const uint32 Index |
Util/DynamicVector.h | ||
static int32 GetBlockSize() |
Util/DynamicVector.h | ||
static uint32 GetIndexInBlock
(
const uint32 Index |
Util/DynamicVector.h | ||
static uint32 NumBitsNeeded
(
const uint32 N |
Util/DynamicVector.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const Type & operator[]
(
uint32 Index |
Util/DynamicVector.h | ||
Type & operator[]
(
uint32 Index |
Util/DynamicVector.h | ||
TDynamicVector & operator=
(
const TDynamicVector& Copy |
Util/DynamicVector.h | ||
TDynamicVector & operator=
(
TDynamicVector&& Moved |
Util/DynamicVector.h |