Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FNumberParsingOptions Struct Reference

#include <Text.h>

Public Member Functions

 FNumberParsingOptions ()
 
FNumberParsingOptionsSetUseGrouping (bool InValue)
 
FNumberParsingOptionsSetInsideLimits (bool InValue)
 
FNumberParsingOptionsSetUseClamping (bool InValue)
 
bool IsIdentical (const FNumberParsingOptions &Other) const
 

Static Public Member Functions

static const FNumberParsingOptionsDefaultWithGrouping ()
 
static const FNumberParsingOptionsDefaultNoGrouping ()
 

Public Attributes

bool UseGrouping
 
bool InsideLimits
 
bool UseClamping
 

Friends

void operator<< (FStructuredArchive::FSlot Slot, FNumberParsingOptions &Value)
 
uint32 GetTypeHash (const FNumberParsingOptions &Key)
 

Detailed Description

Definition at line 218 of file Text.h.

Constructor & Destructor Documentation

◆ FNumberParsingOptions()

FNumberParsingOptions::FNumberParsingOptions ( )

Member Function Documentation

◆ DefaultNoGrouping()

static const FNumberParsingOptions & FNumberParsingOptions::DefaultNoGrouping ( )
static

Get the default number parsing options with grouping disabled

◆ DefaultWithGrouping()

static const FNumberParsingOptions & FNumberParsingOptions::DefaultWithGrouping ( )
static

Get the default number parsing options with grouping enabled

◆ IsIdentical()

bool FNumberParsingOptions::IsIdentical ( const FNumberParsingOptions & Other) const

Check to see if our parsing options match the other parsing options

◆ SetInsideLimits()

FNumberParsingOptions & FNumberParsingOptions::SetInsideLimits ( bool InValue)
inline

Definition at line 227 of file Text.h.

◆ SetUseClamping()

FNumberParsingOptions & FNumberParsingOptions::SetUseClamping ( bool InValue)
inline

Definition at line 231 of file Text.h.

◆ SetUseGrouping()

FNumberParsingOptions & FNumberParsingOptions::SetUseGrouping ( bool InValue)
inline

Definition at line 223 of file Text.h.

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FNumberParsingOptions & Key)
friend

Get the hash code to use for the given parsing options

◆ operator<<

Member Data Documentation

◆ InsideLimits

bool FNumberParsingOptions::InsideLimits

The number needs to be representable inside its type limits to be considered valid.

Definition at line 226 of file Text.h.

◆ UseClamping

bool FNumberParsingOptions::UseClamping

Clamp the parsed value to its type limits.

Definition at line 230 of file Text.h.

◆ UseGrouping

bool FNumberParsingOptions::UseGrouping

Definition at line 222 of file Text.h.


The documentation for this struct was generated from the following file: