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

#include <Text.h>

Public Member Functions

 FNumberFormattingOptions ()
 
FNumberFormattingOptionsSetAlwaysSign (bool InValue)
 
FNumberFormattingOptionsSetUseGrouping (bool InValue)
 
FNumberFormattingOptionsSetRoundingMode (ERoundingMode InValue)
 
FNumberFormattingOptionsSetMinimumIntegralDigits (int32 InValue)
 
FNumberFormattingOptionsSetMaximumIntegralDigits (int32 InValue)
 
FNumberFormattingOptionsSetMinimumFractionalDigits (int32 InValue)
 
FNumberFormattingOptionsSetMaximumFractionalDigits (int32 InValue)
 
bool IsIdentical (const FNumberFormattingOptions &Other) const
 

Static Public Member Functions

static const FNumberFormattingOptionsDefaultWithGrouping ()
 
static const FNumberFormattingOptionsDefaultNoGrouping ()
 

Public Attributes

bool AlwaysSign
 
bool UseGrouping
 
ERoundingMode RoundingMode
 
int32 MinimumIntegralDigits
 
int32 MaximumIntegralDigits
 
int32 MinimumFractionalDigits
 
int32 MaximumFractionalDigits
 

Friends

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

Detailed Description

Definition at line 178 of file Text.h.

Constructor & Destructor Documentation

◆ FNumberFormattingOptions()

FNumberFormattingOptions::FNumberFormattingOptions ( )

Member Function Documentation

◆ DefaultNoGrouping()

static const FNumberFormattingOptions & FNumberFormattingOptions::DefaultNoGrouping ( )
static

Get the default number formatting options with grouping disabled

◆ DefaultWithGrouping()

static const FNumberFormattingOptions & FNumberFormattingOptions::DefaultWithGrouping ( )
static

Get the default number formatting options with grouping enabled

◆ IsIdentical()

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

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

◆ SetAlwaysSign()

FNumberFormattingOptions & FNumberFormattingOptions::SetAlwaysSign ( bool InValue)
inline

Definition at line 183 of file Text.h.

◆ SetMaximumFractionalDigits()

FNumberFormattingOptions & FNumberFormattingOptions::SetMaximumFractionalDigits ( int32 InValue)
inline

Definition at line 201 of file Text.h.

◆ SetMaximumIntegralDigits()

FNumberFormattingOptions & FNumberFormattingOptions::SetMaximumIntegralDigits ( int32 InValue)
inline

Definition at line 195 of file Text.h.

◆ SetMinimumFractionalDigits()

FNumberFormattingOptions & FNumberFormattingOptions::SetMinimumFractionalDigits ( int32 InValue)
inline

Definition at line 198 of file Text.h.

◆ SetMinimumIntegralDigits()

FNumberFormattingOptions & FNumberFormattingOptions::SetMinimumIntegralDigits ( int32 InValue)
inline

Definition at line 192 of file Text.h.

◆ SetRoundingMode()

FNumberFormattingOptions & FNumberFormattingOptions::SetRoundingMode ( ERoundingMode InValue)
inline

Definition at line 189 of file Text.h.

◆ SetUseGrouping()

FNumberFormattingOptions & FNumberFormattingOptions::SetUseGrouping ( bool InValue)
inline

Definition at line 186 of file Text.h.

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FNumberFormattingOptions & Key)
friend

Get the hash code to use for the given formatting options

◆ operator<<

Member Data Documentation

◆ AlwaysSign

bool FNumberFormattingOptions::AlwaysSign

Definition at line 182 of file Text.h.

◆ MaximumFractionalDigits

int32 FNumberFormattingOptions::MaximumFractionalDigits

Definition at line 200 of file Text.h.

◆ MaximumIntegralDigits

int32 FNumberFormattingOptions::MaximumIntegralDigits

Definition at line 194 of file Text.h.

◆ MinimumFractionalDigits

int32 FNumberFormattingOptions::MinimumFractionalDigits

Definition at line 197 of file Text.h.

◆ MinimumIntegralDigits

int32 FNumberFormattingOptions::MinimumIntegralDigits

Definition at line 191 of file Text.h.

◆ RoundingMode

ERoundingMode FNumberFormattingOptions::RoundingMode

Definition at line 188 of file Text.h.

◆ UseGrouping

bool FNumberFormattingOptions::UseGrouping

Definition at line 185 of file Text.h.


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