Navigation
API > API/Runtime > API/Runtime/Core
NOTE: Right now, you can't use a custom allocation policy with transactional arrays. If you need to do it, you will have to fix up FTransaction::FObjectRecord to use the correct TArray
| Name | TTransArray |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/TransArray.h |
| Include Path | #include "Containers/TransArray.h" |
Syntax
template<typename T>
class TTransArray : public TArray< T >
Inheritance Hierarchy
- TArray → TTransArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTransArray
(
const TTransArray& |
Containers/TransArray.h | ||
TTransArray
(
UObject* InOwner |
Constructors. | Containers/TransArray.h | |
TTransArray
(
TTransArray&& |
Containers/TransArray.h | ||
TTransArray
(
UObject* InOwner, |
Containers/TransArray.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | TArray< T > | Containers/TransArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 Add
(
const T& Item |
Containers/TransArray.h | ||
int32 AddUninitialized
(
int32 Count |
Containers/TransArray.h | ||
int32 AddUnique
(
const T& Item |
Containers/TransArray.h | ||
int32 AddZeroed
(
int32 n |
Containers/TransArray.h | ||
void AssignButKeepOwner
(
Super&& Other |
Functions dependent on Add, Remove. | Containers/TransArray.h | |
void AssignButKeepOwner
(
const Super& Other |
Functions dependent on Add, Remove. | Containers/TransArray.h | |
void Empty
(
int32 Slack |
Containers/TransArray.h | ||
UObject * GetOwner() |
Containers/TransArray.h | ||
void InsertUninitialized
(
int32 Index, |
Containers/TransArray.h | ||
void ModifyAllItems() |
Containers/TransArray.h | ||
void ModifyItem
(
int32 Index |
Containers/TransArray.h | ||
int32 Remove
(
const T& Item |
Containers/TransArray.h | ||
void RemoveAt
(
int32 Index, |
Containers/TransArray.h | ||
void SetOwner
(
UObject* NewOwner |
Containers/TransArray.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DefaultConstructItem
(
void* TPtr |
Containers/TransArray.h | ||
static void DestructItem
(
void* TPtr |
Containers/TransArray.h | ||
static void SerializeItem
(
FArchive& Ar, |
Containers/TransArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTransArray & operator=
(
const TTransArray& |
Containers/TransArray.h | ||
TTransArray & operator=
(
TTransArray&& |
Containers/TransArray.h |