UArrayProperty

Windows
MacOS
Linux

Inheritance Hierarchy

TInPropertyBaseClass

TPropertyTypeFundamentals

TProperty

UArrayProperty

Syntax

class UArrayProperty : public TProperty< FScriptArray, UProperty >

Variables

Name Description

Public variable

UProperty *

 

Inner

Variables.

Constructors

Name Description

Public function

UArrayProperty

(
    const FObjectInitializer& ObjectIn...
)

Public function

UArrayProperty

(
    FVTableHelper& Helper
)

DO NOT USE. This constructor is for internal usage only for hot-reload purposes.

Public function

UArrayProperty

(
    ECppProperty,
    int32 InOffset,
    EPropertyFlags InFlags
)

Public function

UArrayProperty

(
    const FObjectInitializer& ObjectIn...,
    ECppProperty,
    int32 InOffset,
    EPropertyFlags InFlags
)

Functions

Name Description

Public function Static

void

 

__DefaultConstructor

(
    const FObjectInitializer& X
)

Public function Static

UObject *...

 

__VTableCtorCaller

(
    FVTableHelper& Helper
)

Public function Virtual

void

 

AddCppProperty

(
    UProperty* Property
)

Public function Static

void

 

AddReferencedObjects

(
    UObject* InThis,
    FReferenceCollector& Collector
)

Public function Virtual Const

bool

 

ContainsObjectReference

(
    TArray< const UStructProperty*...
)

Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a UObject reference.

Public function Virtual Const

bool

 

ContainsWeakObjectReference()

Public function Virtual

EConvertFrom...

 

ConvertFromType

(
    const FPropertyTag& Tag,
    FStructuredArchive::FSlot Slot,
    uint8* Data,
    UStruct* DefaultsStruct
)

Public function Virtual

void

 

EmitReferenceInfo

(
    UClass& OwnerClass,
    int32 BaseOffset,
    TArray< const UStructProperty*...
)

Emits tokens used by realtime garbage collection code to passed in OwnerClass' ReferenceTokenStream.

Public function Static

void

 

ExportTextInnerItem

(
    FString& ValueStr,
    UProperty* Inner,
    const void* PropertyValue,
    int32 PropertySize,
    const void* DefaultValue,
    int32 DefaultSize,
    UObject* Parent,
    int32 PortFlags,
    UObject* ExportRootScope
)

Called by ExportTextItem, but can also be used by a non-ArrayProperty whose ArrayDim is > 1.

Public function Virtual Const

void

 

ExportTextItem

(
    FString& ValueStr,
    const void* PropertyValue,
    const void* DefaultValue,
    UObject* Parent,
    int32 PortFlags,
    UObject* ExportRootScope
)

Public function Virtual Const

FString

 

GetCPPMacroType

(
    FString& ExtendedTypeText
)

Public function Const

FString

 

GetCPPTypeCustom

(
    FString* ExtendedTypeText,
    uint32 CPPExportFlags,
    const FString& InnerTypeText,
    const FString& InInnerExtendedType...
)

Public function Virtual Const

FString

 

GetCPPTypeForwardDeclaration()

Public function Virtual

void

 

GetPreloadDependencies

(
    TArray< UObject* >& OutDeps
)

Public function Virtual Const

bool

 

Identical

(
    const void* A,
    const void* B,
    uint32 PortFlags
)

Public function Virtual Const

const TCHAR ...

 

ImportText_Internal

(
    const TCHAR* Buffer,
    void* Data,
    int32 PortFlags,
    UObject* OwnerObject,
    FOutputDevice* ErrorText
)

Public function Static

const TCHAR ...

 

ImportTextInnerItem

(
    const TCHAR* Buffer,
    UProperty* Inner,
    void* Data,
    int32 PortFlags,
    UObject* OwnerObject,
    FScriptArrayHelper* ArrayHelpe...,
    FOutputDevice* ErrorText
)

Called by ImportTextItem, but can also be used by a non-ArrayProperty whose ArrayDim is > 1.

Public function Virtual

void

 

InstanceSubobjects

(
    void* Data,
    void const* DefaultData,
    UObject* Owner,
    FObjectInstancingGraph* Instan...
)

Creates new copies of components

Public function Virtual Const

bool

 

NetSerializeItem

(
    FArchive& Ar,
    UPackageMap* Map,
    void* Data,
    TArray< uint8 >* MetaData
)

Public function Virtual Const

bool

 

SameType

(
    const UProperty* Other
)

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Public function Virtual Const

void

 

SerializeItem

(
    FStructuredArchive::FSlot Slot,
    void* Value,
    void const* Defaults
)

Public function Static

UClass *

 

StaticClass()

Returns a UClass object representing this class at runtime

Public function Static

EClassCastFl...

 

StaticClassCastFlags()

Returns the static cast flags for this class

Public function Static

const TCHAR ...

 

StaticPackage()

Returns the package this class belongs in

Public function Static

void

 

StaticRegisterNativesUArrayProperty()

Overridden from TProperty

Name Description

Public function Virtual Const

void

 

ClearValueInternal

(
    void* Data
)

Public function Virtual Const

void

 

CopyValuesInternal

(
    void* Dest,
    void const* Src,
    int32 Count
)

Public function Virtual Const

void

 

DestroyValueInternal

(
    void* Dest
)

Public function Virtual Const

FString

 

GetCPPType

(
    FString* ExtendedTypeText,
    uint32 CPPExportFlags
)

Public function Virtual

void

 

LinkInternal

(
    FArchive& Ar
)

Public function Virtual Const

bool

 

PassCPPArgsByRef()

Operators

Name Description

Public function

void *

 

operator new

(
    const size_t InSize,
    EInternal InInternalOnly,
    UObject* InOuter,
    FName InName,
    EObjectFlags InSetFlags
)

For internal use only; use StaticConstructObject() to create new objects.

Public function

void *

 

operator new

(
    const size_t InSize,
    EInternal* InMem
)

For internal use only; use StaticConstructObject() to create new objects.

Typedefs

Name

Description

Super

Typedef for the base class (UArrayProperty_Super)

TCppType

ThisClass

Typedef for UArrayProperty.

TTypeFundamentals

Constants

Name

Description

StaticClassFlags

Bitwise union of EClassFlags pertaining to this class.

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UnrealType.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback