Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- TArray
- TTransArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/TransArray.h |
| Include | #include "Containers/TransArray.h" |
Syntax
template<typename T>
class TTransArray : public TArray< T >
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| UObject * | Owner |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TTransArray
(
UObject* InOwner |
Constructors. | ||
TTransArray
(
TTransArray&& |
|||
TTransArray
(
const TTransArray& |
|||
TTransArray
(
UObject* InOwner, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Add
(
const T& Item |
||
| int32 | AddUninitialized
(
int32 Count |
||
| int32 | AddUnique
(
const T& Item |
||
| int32 | AddZeroed
(
int32 n |
||
| void | AssignButKeepOwner
(
Super&& Other |
Functions dependent on Add, Remove. | |
| void | AssignButKeepOwner
(
const Super& Other |
Functions dependent on Add, Remove. | |
| void | DefaultConstructItem
(
void* TPtr |
||
| void | DestructItem
(
void* TPtr |
||
| void | Empty
(
int32 Slack |
||
| UObject * | GetOwner () |
||
| void | InsertUninitialized
(
int32 Index, |
||
| void | |||
| void | ModifyItem
(
int32 Index |
||
| int32 | Remove
(
const T& Item |
||
| void | RemoveAt
(
int32 Index, |
||
| void | SerializeItem
(
FArchive& Ar, |
||
| void |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TTransArray & | operator=
(
const TTransArray& |
||
| TTransArray & | operator=
(
TTransArray&& |
Typedefs
| Name | Description |
|---|---|
| Super |