![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextHistory.h>
Inheritance diagram for FTextHistory_FormatNumber:Protected Member Functions | |
| FString | BuildNumericDisplayString (const FDecimalNumberFormattingRules &InFormattingRules, const int32 InValueMultiplier=1) const |
Protected Member Functions inherited from FTextHistory_Generated | |
| virtual FString | BuildLocalizedDisplayString () const =0 |
Protected Member Functions inherited from FTextHistory | |
| virtual bool | CanUpdateDisplayString () |
| void | MarkDisplayStringOutOfDate () |
| void | MarkDisplayStringUpToDate () |
Protected Attributes | |
| FFormatArgumentValue | SourceValue |
| TOptional< FNumberFormattingOptions > | FormatOptions |
| FCulturePtr | TargetCulture |
Protected Attributes inherited from FTextHistory_Generated | |
| FString | DisplayString |
Additional Inherited Members | |
Static Public Member Functions inherited from FTextHistory | |
| static bool | StaticShouldReadFromBuffer (const TCHAR *Buffer) |
Base class for managing formatting FText's from: AsNumber, AsPercent, and AsCurrency. Manages data serialization of these history events
|
default |
| FTextHistory_FormatNumber::FTextHistory_FormatNumber | ( | FString && | InDisplayString, |
| FFormatArgumentValue | InSourceValue, | ||
| const FNumberFormattingOptions *const | InFormatOptions, | ||
| FCulturePtr | InTargetCulture | ||
| ) |
|
protected |
Build the numeric display string using the given formatting rules
|
overridevirtual |
Check whether this history is considered identical to the other history, based on the comparison flags provided.
Implements FTextHistory.
|
overridevirtual |
Serializes the history to/from a structured archive slot
Reimplemented from FTextHistory_Generated.
Reimplemented in FTextHistory_AsNumber, FTextHistory_AsPercent, and FTextHistory_AsCurrency.
|
protected |
All the formatting options available to format using. This can be empty.
|
protected |
The source value to format from
|
protected |
The culture to format using