Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
|
#include "SIUnitsGroupLabeler.h"
Public Member Functions | |
USIUnitsGroupLabeler () | |
const UGroupLabeler * | GetOverflowGroupLabeler () const |
void | SetOverflowGroupLabeler (const UGroupLabeler *value) |
ESIUnitsMode const | GetSIUnitsMode () const |
void | SetSIUnitsMode (ESIUnitsMode value) |
int | OnAppendGroupLabel (int32 powerOfTen, FString &string) const override |
Public Member Functions inherited from UGroupLabeler | |
FString | GetGroupLabel (int32 powerOfTen) const |
FString & | AppendGroupLabel (int32 PowerOfTen, UPARAM(ref) FString &AppendTo, int32 &Remainder) const |
virtual int32 | OnAppendGroupLabel (int32 powerOfTen, FString &string) const |
FString | GetSeparatorBefore () const |
void | SetSeparatorBefore (const FString &value) |
Static Public Member Functions | |
static FString | GetSINameGroupLabel (int32 powerOfTen) |
static int | AppendSINameGroupLabel (int32 powerOfTen, FString &string) |
static FString | GetSISymbolGroupLabel (int32 powerOfTen) |
static int | AppendSISymbolGroupLabel (int32 powerOfTen, FString &string) |
static USIUnitsGroupLabeler * | GetDefaultSIName () |
static USIUnitsGroupLabeler * | GetDefaultSISymbol () |
Additional Inherited Members | |
Protected Attributes inherited from UGroupLabeler | |
FString | SeparatorBefore |
Group Labeler that uses the SI unit prefixes (kilo, mega, giga, etc.) or their standard abbreviations/symbols (k, M, G, etc.)
|
Flavor:Constructor |
Creates a new SIUnitsGroupLabeler
MG ← mg 0
|
staticFlavor:Static |
Provides implementation for appending the group label for the specified powerOfTen into string, and returning any remaining power of ten.
powerOfTen | The power of ten for which to get the label |
string | The string to append the group label to |
I4 ← lbl BG I4 S&
I4 ← lblmn I4 S&
|
staticFlavor:Static |
Provides implementation for appending the group label for the specified powerOfTen into string, and returning any remaining power of ten.
powerOfTen | The power of ten for which to get the label |
string | The string to append the group label to |
I4 ← lbl BG I4 S&
I4 ← lblms I4 S&
|
staticFlavor:Static |
Gets the default unit names instance of this type of group labeler
MG ← glblmn 0
|
staticFlavor:Static |
Gets the default unit symbols instance of this type of group labeler
MG ← glblms 0
|
Flavor:Instance |
Gets the optional secondary labeler to apply if a requested power of ten overflows the capacity of this labeler by three or more.
BG ← goglb MG
|
staticFlavor:Static |
Gets the group label for the specified powerOfTen
powerOfTen | The power of ten for which to get the label |
S ← lbl BG I4
S ← lblmn I4
|
staticFlavor:Static |
Gets the group label for the specified powerOfTen
powerOfTen | The power of ten for which to get the label |
S ← lbl BG I4
S ← lblms I4
|
Flavor:Instance |
Gets the SI Units mode used for the formatting of the number
U1 ← gosimd MG
|
overridevirtualFlavor:Instance |
Provides implementation for appending the group label for the specified powerOfTen into string, and returning any remaining power of ten.
powerOfTen | The power of ten for which to get the label |
string | The string to append the group label to |
I4 ← lbl BG I4 S&
I4 ← lbl MG I4 S&
Reimplemented from UGroupLabeler.
|
Flavor:Instance |
Sets the optional secondary labeler to apply if a requested power of ten overflows the capacity of this labeler by three or more.
value | the optional secondary labeler to apply if a requested power of ten overflows the capacity of this labeler by three or more. |
0 ← soglb MG BG
|
Flavor:Instance |
Sets the SI Units mode used for the formatting of the number
value | the SI Units mode used for the formatting of the number |
0 ← sosimd MG U1