Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Util
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Util/DynamicVector.h |
| Include | #include "Util/DynamicVector.h" |
Syntax
template<class Type>
class TDynamicVector
Remarks
Blocked array with fixed, power-of-two sized blocks.
Iterator functions suitable for use with range-based for are provided
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDynamicVector
(
const TDynamicVector& Copy |
|||
TDynamicVector
(
TDynamicVector&& Moved |
|||
TDynamicVector
(
const TArray< Type >& Array |
|||
TDynamicVector
(
TArrayView< const Type > Array |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
const TDynamicVector& Data |
||
| void | Add
(
const Type& Data |
||
| void | Apply
(
const Func& f |
Apply f() to each member sequentially | |
| const Type & | Back () |
||
| FConstIterator | begin () |
||
| FIterator | begin () |
||
| void | Clear () |
||
| Type & | ElementAt
(
unsigned int Index, |
||
| FConstIterator | end () |
||
| FIterator | end () |
||
| void | Fill
(
const Type& Value |
||
| const Type & | Front () |
||
| int | GetBlockSize () |
||
| size_t | GetByteCount () |
||
| size_t | GetLength () |
||
| void | InsertAt
(
const Type& Data, |
||
| void | InsertAt
(
const Type& Data, |
||
| bool | IsEmpty () |
||
| size_t | Num () |
||
| void | PopBack () |
||
| void | Resize
(
unsigned int Count, |
||
| void | Resize
(
unsigned int Count |
||
| void | Serialize vector to and from an archive | ||
| bool | SetMinimumSize
(
unsigned int Count, |
Resize if Num() is less than Count; returns true if resize occurred. | |
| void | SetNum
(
unsigned int Count |
Operators
| Type | Name | Description | |
|---|---|---|---|
| const Type & | operator[]
(
unsigned int Index |
||
| Type & | operator[]
(
unsigned int Index |
||
| TDynamicVector & | operator=
(
const TDynamicVector& Copy |
||
| TDynamicVector & | operator=
(
TDynamicVector&& Moved |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FConstIterator | FConstIterator class iterates over values of vector | ||
| FIterator | FIterator class iterates over values of vector |
Typedefs
| Name | Description |
|---|---|
| BlockType |
Constants
| Name | Description |
|---|---|
| BlockIndexBitmask | |
| BlockSize | |
| MaxBlockCount | |
| MaxSize | |
| nShiftBits |