TProperty

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

template<typename InTCppType, class TInPropertyBaseClass>
class TProperty :
    public TInPropertyBaseClass,
    public TPropertyTypeFundamentals< InTCppType >

Constructors

Name Description

Public function

TProperty

(
    UField* InField
)

Public function

TProperty

(
    EInternal InInernal,
    FFieldClass* InClass
)

Public function

TProperty

(
    FFieldVariant InOwner,
    const FName& InName,
    EObjectFlags InObjectFlags
)

Public function

TProperty

(
    FFieldVariant InOwner,
    const FName& InName,
    EObjectFlags InObjectFlags,
    int32 InOffset,
    EPropertyFlags InFlags
)

Functions

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 Const

int32

 

GetMinAlignment()

Public function Const

TCppType

 

GetOptionalPropertyValue_InContainer

(
    void const* B,
    int32 ArrayIndex
)

Get the value of the property from a container address, unless it is NULL, then return the default value

Public function Const

TCppType con...

 

GetPropertyValue_InContainer

(
    void const* A,
    int32 ArrayIndex
)

Get the value of the property from a container address

Public function Const

TCppType ...

 

GetPropertyValuePtr_InContainer

(
    void* A,
    int32 ArrayIndex
)

Convert the address of a container to the address of the property value, in the proper type

Public function Const

TCppType con...

 

GetPropertyValuePtr_InContainer

(
    void const* A,
    int32 ArrayIndex
)

Convert the address of a container to the address of the property value, in the proper type

Public function Virtual Const

void

 

InitializeValueInternal

(
    void* Dest
)

Public function Virtual

void

 

LinkInternal

(
    FArchive& Ar
)

Public function Virtual Const

bool

 

PassCPPArgsByRef()

Protected function

void

 

SetElementSize()

Public function Const

void

 

SetPropertyValue_InContainer

(
    void* A,
    TCppType const& Value,
    int32 ArrayIndex
)

Set the value of a property in a container

Typedefs

Name

Description

Super

TCppType

TTypeFundamentals