![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DynamicVector.h>
Classes | |
| class | FConstIterator |
| class | FIterator |
Public Types | |
| using | ElementType = Type |
Public Member Functions | |
| TDynamicVector () | |
| TDynamicVector (const TDynamicVector &Copy) | |
| TDynamicVector (TDynamicVector &&Moved) | |
| TDynamicVector & | operator= (const TDynamicVector &Copy) |
| TDynamicVector & | operator= (TDynamicVector &&Moved) |
| TDynamicVector (const TArray< Type > &Array) | |
| TDynamicVector (TArrayView< const Type > Array) | |
| ~TDynamicVector () | |
| void | Clear () |
| void | Fill (const Type &Value) |
| void | Resize (unsigned int Count) |
| void | Resize (unsigned int Count, const Type &InitValue) |
| bool | SetMinimumSize (unsigned int Count, const Type &InitValue) |
| Resize if Num() is less than Count; returns true if resize occurred. | |
| void | SetNum (unsigned int Count) |
| bool | IsEmpty () const |
| size_t | GetLength () const |
| size_t | Num () const |
| size_t | GetByteCount () const |
| void | Add (const Type &Data) |
| template<int32 BlockSizeData> | |
| void | Add (const TDynamicVector< Type, BlockSizeData > &Data) |
| void | Add (const TArray< Type > &Data) |
| void | Add (TArrayView< const Type > Data) |
| void | PopBack () |
| void | InsertAt (const Type &Data, unsigned int Index) |
| void | InsertAt (const Type &Data, unsigned int Index, const Type &InitValue) |
| Type & | ElementAt (unsigned int Index, Type InitialValue=Type{}) |
| const Type & | Front () const |
| const Type & | Back () const |
| const Type & | operator[] (uint32 Index) const |
| Type & | operator[] (uint32 Index) |
| template<typename Func > | |
| void | Apply (const Func &ApplyFunc) |
| template<bool bForceBulkSerialization = false, bool bUseCompression = false> | |
| void | Serialize (FArchive &Ar) |
| FIterator | begin () |
| FIterator | end () |
| FConstIterator | begin () const |
| FConstIterator | end () const |
Static Public Member Functions | |
| static constexpr int32 | GetBlockSize () |
Friends | |
| FArchive & | operator<< (FArchive &Ar, TDynamicVector &Vec) |
| template<int32 BlockSizeRhs> | |
| bool | operator== (const TDynamicVector &Lhs, const TDynamicVector< Type, BlockSizeRhs > &Rhs) |
| template<int32 BlockSizeRhs> | |
| bool | operator!= (const TDynamicVector &Lhs, const TDynamicVector< Type, BlockSizeRhs > &Rhs) |
| using UE::Geometry::TDynamicVector< Type, BlockSize >::ElementType = Type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void UE::Geometry::TDynamicVector< Type, BlockSize >::Add | ( | const TArray< Type > & | Data | ) |
| void UE::Geometry::TDynamicVector< Type, BlockSize >::Add | ( | const TDynamicVector< Type, BlockSizeData > & | Data | ) |
|
inline |
| void UE::Geometry::TDynamicVector< Type, BlockSize >::Add | ( | TArrayView< const Type > | Data | ) |
| void UE::Geometry::TDynamicVector< Type, BlockSize >::Apply | ( | const Func & | ApplyFunc | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void UE::Geometry::TDynamicVector< Type, BlockSize >::Serialize | ( | FArchive & | Ar | ) |
Serialize vector to and from an archive
| bForceBulkSerialization | Forces serialization to consider data to be trivial and serialize it in bulk to potentially achieve better performance. |
| bUseCompression | Use compression to serialize data; the resulting size will likely be smaller but serialization will take significantly longer. |
| Ar | Archive to serialize with |
|
inline |
Resize if Num() is less than Count; returns true if resize occurred.
|
inline |
|
friend |
|
friend |
Serialization operator for TDynamicVector.
| Ar | Archive to serialize with. |
| Vec | Vector to serialize. |
|
friend |