TTransArray

Inheritance Hierarchy

TArray

TTransArray

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<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

References

Module

Core

Header

Runtime/Core/Public/Containers/TransArray.h