TTransArray

You need to do it, you will have to fix up [FTransaction::FObjectRecord](API\Editor\UnrealEd\Editor\FTransaction\FObjectRecord) to use the correct TArray.

Choose your operating system:

Windows

macOS

Linux

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

You need to do it, you will have to fix up FTransaction::FObjectRecord to use the correct TArray<Allocator>.

Variables

Name Description

Protected variable

UObject *

 

Owner

Constructors

Name Description

Public function

TTransArray

(
    UObject* InOwner
)

Constructors.

Public function

TTransArray

(
    TTransArray&&
)

Public function

TTransArray

(
    const TTransArray&
)

Public function

TTransArray

(
    UObject* InOwner,
    const Super& Other
)

Functions

Name Description

Public function

int32

 

Add

(
    const T& Item
)

Public function

int32

 

AddUninitialized

(
    int32 Count
)

Public function

int32

 

AddUnique

(
    const T& Item
)

Public function

int32

 

AddZeroed

(
    int32 n
)

Public function

void

 

AssignButKeepOwner

(
    Super&& Other
)

Functions dependent on Add, Remove.

Public function

void

 

AssignButKeepOwner

(
    const Super& Other
)

Functions dependent on Add, Remove.

Protected function Static

void

 

DefaultConstructItem

(
    void* TPtr
)

Protected function Static

void

 

DestructItem

(
    void* TPtr
)

Public function

void

 

Empty

(
    int32 Slack
)

Public function Const

UObject *...

 

GetOwner()

Public function

void

 

InsertUninitialized

(
    int32 Index,
    int32 Count
)

Public function

void

 

ModifyAllItems()

Public function

void

 

ModifyItem

(
    int32 Index
)

Public function

int32

 

Remove

(
    const T& Item
)

Public function

void

 

RemoveAt

(
    int32 Index,
    int32 Count
)

Protected function Static

void

 

SerializeItem

(
    FArchive& Ar,
    void* TPtr
)

Public function

void

 

SetOwner

(
    UObject* NewOwner
)

Operators

Name Description

Public function

TTransArray ...

 

operator=

(
    const TTransArray&
)

Public function

TTransArray ...

 

operator=

(
    TTransArray&&
)

Typedefs

Name

Description

Super