Navigation
Unreal Engine C++ API Reference > Runtime > Core > Containers
Inheritance Hierarchy
- std::vector< T >
- 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 | ||
![]() |
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 | ||
![]() ![]() |
UObject * | GetOwner () |
|
![]() |
void | InsertUninitialized
(
int32 Index, |
|
![]() |
void | ||
![]() |
void | ModifyItem
(
int32 Index |
|
![]() |
int32 | Remove
(
const T& Item |
|
![]() |
void | ||
![]() ![]() |
void | SerializeItem
(
FArchive& Ar, |
|
![]() |
void | SetOwner
(
UObject* NewOwner |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
TTransArray & | operator=
(
const TTransArray& |
|
![]() |
TTransArray & | operator=
(
TTransArray&& |
Typedefs
Name | Description |
---|---|
Super |