TProperty_Numeric

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 TProperty_Numeric : public TProperty_WithEqualityAndSerializer< InTCppType, FNumericProperty >

Constructors

Name Description

Public function

TProperty_Numeric

(
    UField* InField
)

Public function

TProperty_Numeric

(
    EInternal InInernal,
    FFieldClass* InClass
)

Public function

TProperty_Numeric

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

Public function

TProperty_Numeric

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

Functions

Name Description

Protected function Const

void

 

ConvertFromArithmeticValue

(
    FStructuredArchive::FSlot Slot,
    void* Obj,
    const FPropertyTag& Tag
)

Public function Virtual

EConvertFrom...

 

ConvertFromType

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

Allows a property to implement backwards compatibility handling for tagged properties

Public function Virtual Const

FString

 

GetCPPTypeForwardDeclaration()

Public function Virtual Const

double

 

GetFloatingPointPropertyValue

(
    void const* Data
)

Gets the value of an floating point property type

Public function Virtual Const

FString

 

GetNumericPropertyValueToString

(
    void const* Data
)

Get the value of any numeric type and return it as a string

Public function Virtual Const

int64

 

GetSignedIntPropertyValue

(
    void const* Data
)

Gets the value of a signed integral property type

Public function Virtual Const

uint64

 

GetUnsignedIntPropertyValue

(
    void const* Data
)

Gets the value of an unsigned integral property type

Public function Virtual Const

uint32

 

GetValueTypeHashInternal

(
    const void* Src
)

Public function Virtual Const

bool

 

IsFloatingPoint()

Return true if this property is for a floating point number

Public function Virtual Const

bool

 

IsInteger()

Return true if this property is for a integral or enum type

Public function Virtual Const

void

 

SetFloatingPointPropertyValue

(
    void* Data,
    double Value
)

Set the value of a floating point property type

Public function Virtual Const

void

 

SetIntPropertyValue

(
    void* Data,
    uint64 Value
)

Set the value of an unsigned integral property type

Public function Virtual Const

void

 

SetIntPropertyValue

(
    void* Data,
    int64 Value
)

Set the value of a signed integral property type

Public function Virtual Const

void

 

SetNumericPropertyValueFromString

(
    void* Data,
    TCHAR const* Value
)

Set the value of any numeric type from a string point

Typedefs

Name

Description

Super

TCppType

TTypeFundamentals