5#include "CoreMinimal.h"
6#include "UObject/NoExportTypes.h"
7#include "Internationalization/FastDecimalFormat.h"
8#include "Internationalization/Culture.h"
11#include "BigIntegerFormatter.h"
12#include "GroupLabeler.h"
13#include "CultureAwareObject.h"
14#include "DecimalScalingFormatter.generated.h"
37 static FString ToScientificString(
const FBigInteger& number);
43 static void AppendScientificToString(
const FBigInteger& number, FString&
string);
51 static FString ToEngineeringString(
const FBigInteger& number);
57 static void AppendEngineeringToString(
const FBigInteger& number, FString&
string);
65 static FString ToNamedString(
const FBigInteger& number);
71 static void AppendNamedToString(
const FBigInteger& number, FString&
string);
79 static FString ToSINameString(
const FBigInteger& number);
85 static void AppendSINameToString(
const FBigInteger& number, FString&
string);
93 static FString ToSISymbolString(
const FBigInteger& number);
99 static void AppendSISymbolToString(
const FBigInteger& number, FString&
string);
147 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category =
"String|BigInteger")
148 bool GetUseGrouping() const;
155 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
156 void SetUseGrouping(
bool value);
163 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
164 bool GetAlwaysSign() const;
171 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
172 void SetAlwaysSign(
bool value);
179 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
180 int32 GetMinimumPowerAllowed() const;
187 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
188 void SetMinimumPowerAllowed(int32 value);
195 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
196 int32 GetMaximumPowerAllowed() const;
203 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
204 void SetMaximumPowerAllowed(int32 value);
211 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
212 int32 GetScaleGranularity() const;
219 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
220 void SetScaleGranularity(int32 value);
227 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
235 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
243 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
251 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
275 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
276 int32 GetMinimumFractionalDigits() const;
283 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
284 void SetMinimumFractionalDigits(int32 value);
291 UFUNCTION(BlueprintPure, BlueprintInternalUseOnly, Category = "String|BigInteger")
292 int32 GetMaximumFractionalDigits() const;
299 UFUNCTION(BlueprintCallable, BlueprintInternalUseOnly, Category = "String|BigInteger")
300 void SetMaximumFractionalDigits(int32 value);
309 static
void CreateDefaultNamed();
310 static
void CreateDefaultScientific();
311 static
void CreateDefaultEngineering();
312 static
void CreateDefaultSIName();
313 static
void CreateDefaultSISymbol();
318 UPROPERTY(BlueprintGetter = GetUseGrouping, BlueprintSetter = SetUseGrouping, Category = "String|BigInteger")
319 bool UseGrouping = true;
324 UPROPERTY(BlueprintGetter = GetAlwaysSign, BlueprintSetter = SetAlwaysSign, Category = "String|BigInteger")
325 bool AlwaysSign = false;
334 UPROPERTY(BlueprintGetter = GetMinimumPowerAllowed, BlueprintSetter = SetMinimumPowerAllowed, Category = "String|BigInteger")
335 int32 MinimumPowerAllowed;
344 UPROPERTY(BlueprintGetter = GetMaximumPowerAllowed, BlueprintSetter = SetMaximumPowerAllowed, Category = "String|BigInteger")
345 int32 MaximumPowerAllowed;
352 UPROPERTY(BlueprintGetter = GetScaleGranularity, BlueprintSetter = SetScaleGranularity, Category = "String|BigInteger")
353 int32 ScaleGranularity;
359 UPROPERTY(BlueprintGetter = GetGroupLabeler, BlueprintSetter = SetGroupLabeler, Category = "String|BigInteger")
371 UPROPERTY(BlueprintGetter = GetMinimumFractionalDigits, BlueprintSetter = SetMinimumFractionalDigits, Category = "String|BigInteger")
372 int32 MinimumFractionalDigits;
377 UPROPERTY(BlueprintGetter = GetMaximumFractionalDigits, BlueprintSetter = SetMaximumFractionalDigits, Category = "String|BigInteger")
378 int32 MaximumFractionalDigits;
384 UPROPERTY(BlueprintGetter = GetFallbackFormatter, BlueprintSetter = SetFallbackFormatter, Category = "String|BigInteger")
387 FDecimalNumberFormattingRules formattingRules;
388 FDecimalNumberFormattingRules internalFormattingRules;
389 FNumberFormattingOptions formattingOptions;
397#if DBN_INLINE_ENABLED
398#include "DecimalScalingFormatter.inl"
Definition: GroupLabeler.h:19
Definition: BigInteger.h:50