FNumericProperty

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

class FNumericProperty :
    public FProperty,
    public FProperty

Constructors

Name Description

Public function

FNumericProperty

(
    UField* InField
)

Public function

FNumericProperty

(
    const FObjectInitializer& ObjectIn...
)

Public function

FNumericProperty

(
    FVTableHelper& Helper
)

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

Public function

FNumericProperty

(
    EInternal InInernal,
    FFieldClass* InClass
)

Public function

FNumericProperty

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

Public function

FNumericProperty

(
    ECppProperty,
    int32 InOffset,
    EPropertyFlags InFlags
)

Public function

FNumericProperty

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

Public function

FNumericProperty

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

Functions

Name Description

Public function Static

void

 

__DefaultConstructor

(
    const FObjectInitializer& X
)

Public function Static

UObject *...

 

__VTableCtorCaller

(
    FVTableHelper& Helper
)

Public function Const

bool

 

CanHoldValue

(
    T Value
)

Public function Static

FField *

 

Construct

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

Public function Virtual Const

double

 

GetFloatingPointPropertyValue

(
    void const* Data
)

Gets the value of an floating point property type

Public function Virtual Const

UEnum *

 

GetIntPropertyEnum()

Return the UEnum if this property is a FByteProperty with a non-null Enum

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 Const

bool

 

IsEnum()

Return true if this property is a FByteProperty with a non-null Enum

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 Static

int64

 

ReadEnumAsInt64

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

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

Public function Static

FFieldClass ...

 

StaticClass()

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

uint64

 

StaticClassCastFlags()

Public function Static

uint64

 

StaticClassCastFlagsPrivate()

Public function Static

const TCHAR ...

 

StaticPackage()

Returns the package this class belongs in

Public function Static

void

 

StaticRegisterNativesFNumericProperty()

Overridden from FProperty

Name Description

Public function Virtual Const

void

 

ExportTextItem

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

Public function Virtual Const

const TCHAR ...

 

ImportText_Internal

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

Operators

Name Description

Public function

void

 

operator delete

(
    void* InMem
)

Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy.

Public function

void

 

operator delete

(
    void* InMem
)

Public function

void *

 

operator new

(
    const size_t InSize,
    void* InMem
)

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.

Public function

void *

 

operator new

(
    const size_t InSize
)

Typedefs

Name

Description

Super

Super

Typedef for the base class (FProperty)

ThisClass

ThisClass

Typedef for FNumericProperty.

Constants

Name

Description

StaticClassFlags

Bitwise union of EClassFlags pertaining to this class.