|
static const FText & | GetEmpty () |
|
static FText | AsNumber (float Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (double Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (int8 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (int16 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (int32 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (int64 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (uint8 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (uint16 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (uint32 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (uint64 Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsNumber (long Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (float Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (double Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (int8 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (int16 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (int32 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (int64 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (uint8 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (uint16 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (uint32 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (uint64 Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrency (long Val, const FString &CurrencyCode=FString(), const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsCurrencyBase (int64 BaseVal, const FString &CurrencyCode, const FCulturePtr &TargetCulture=NULL, int32 ForceDecimalPlaces=-1) |
|
static FText | AsPercent (float Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsPercent (double Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsDate (const FDateTime &DateTime, const EDateTimeStyle::Type DateStyle=EDateTimeStyle::Default, const FString &TimeZone=FString(), const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsDateTime (const FDateTime &DateTime, const EDateTimeStyle::Type DateStyle=EDateTimeStyle::Default, const EDateTimeStyle::Type TimeStyle=EDateTimeStyle::Default, const FString &TimeZone=FString(), const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsDateTime (const FDateTime &DateTime, const FString &CustomPattern, const FString &TimeZone=FString(), const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsTime (const FDateTime &DateTime, const EDateTimeStyle::Type TimeStyle=EDateTimeStyle::Default, const FString &TimeZone=FString(), const FCulturePtr &TargetCulture=NULL) |
|
static FText | AsTimespan (const FTimespan &Timespan, const FCulturePtr &TargetCulture=NULL) |
|
static FString | GetInvariantTimeZone () |
|
static FText | AsMemory (uint64 NumBytes, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL, EMemoryUnitStandard UnitStandard=EMemoryUnitStandard::IEC) |
|
static FText | AsMemory (uint64 NumBytes, EMemoryUnitStandard UnitStandard) |
|
static bool | FindText (const FTextKey &Namespace, const FTextKey &Key, FText &OutText, const FString *const SourceString=nullptr) |
|
static FText | FromStringTable (const FName InTableId, const FString &InKey, const EStringTableLoadingPolicy InLoadingPolicy=EStringTableLoadingPolicy::FindOrLoad) |
|
static FText | FromName (const FName &Val) |
|
static FText | FromString (const FString &String) |
|
static FText | FromString (FString &&String) |
|
static FText | FromStringView (FStringView InString) |
|
static FText | AsCultureInvariant (const FString &String) |
|
static FText | AsCultureInvariant (FString &&String) |
|
static FText | AsCultureInvariant (FText Text) |
|
static FText | TrimPreceding (const FText &) |
|
static FText | TrimTrailing (const FText &) |
|
static FText | TrimPrecedingAndTrailing (const FText &) |
|
static bool | IsWhitespace (const TCHAR Char) |
|
static void | GetFormatPatternParameters (const FTextFormat &Fmt, TArray< FString > &ParameterNames) |
|
static FText | Format (FTextFormat Fmt, const FFormatNamedArguments &InArguments) |
|
static FText | Format (FTextFormat Fmt, FFormatNamedArguments &&InArguments) |
|
static FText | Format (FTextFormat Fmt, const FFormatOrderedArguments &InArguments) |
|
static FText | Format (FTextFormat Fmt, FFormatOrderedArguments &&InArguments) |
|
template<typename... ArgTypes> |
static FORCEINLINE FText | Format (FTextFormat Fmt, ArgTypes... Args) |
|
template<typename... TArguments> |
static FText | FormatNamed (FTextFormat Fmt, TArguments &&... Args) |
|
template<typename... TArguments> |
static FText | FormatOrdered (FTextFormat Fmt, TArguments &&... Args) |
|
static FText | Join (const FText &Delimiter, const FFormatOrderedArguments &Args) |
|
static FText | Join (const FText &Delimiter, const TArray< FText > &Args) |
|
template<typename... ArgTypes> |
static FORCEINLINE FText | Join (const FText &Delimiter, ArgTypes... Args) |
|
static FText | FromTextGenerator (const TSharedRef< ITextGenerator > &TextGenerator) |
|
static FCreateTextGeneratorDelegate | FindRegisteredTextGenerator (FName TypeID) |
|
static void | RegisterTextGenerator (FName TypeID, FCreateTextGeneratorDelegate FactoryFunction) |
|
template<typename T > |
static void | RegisterTextGenerator (FName TypeID) |
|
template<typename T > |
static void | RegisterTextGenerator () |
|
static void | UnregisterTextGenerator (FName TypeID) |
|
template<typename T > |
static void | UnregisterTextGenerator () |
|
Definition at line 356 of file Text.h.
template<typename... ArgTypes>
Format the given list of variadic values as ordered arguments within the given format pattern
- Note
- You may want to pre-compile your FText pattern into a FTextFormat prior to performing formats within a loop or on a critical path, as this can save CPU cycles, memory, and mutex resources vs re-compiling the pattern for each format call. See FTextFormat for more info.
@usage FText::Format(LOCTEXT("PlayerNameFmt", "{0} is really cool"), FText::FromString(PlayerName));
- Parameters
-
Fmt | The format pattern to use |
Args | A variadic list of values to inject into the format pattern |
- Returns
- The formatted FText
Definition at line 591 of file Text.h.
template<typename... TArguments>
Format the given list of variadic key->value pairs as named arguments within the given format pattern
- Note
- You may want to pre-compile your FText pattern into a FTextFormat prior to performing formats within a loop or on a critical path, as this can save CPU cycles, memory, and mutex resources vs re-compiling the pattern for each format call. See FTextFormat for more info.
@usage FText::FormatNamed(LOCTEXT("PlayerNameFmt", "{PlayerName} is really cool"), TEXT("PlayerName"), FText::FromString(PlayerName));
- Parameters
-
Fmt | The format pattern to use |
Args | A variadic list of "key then value" pairs to inject into the format pattern (must be an even number) |
- Returns
- The formatted FText
Definition at line 1010 of file Text.h.
template<typename... TArguments>
Format the given list of variadic values as ordered arguments within the given format pattern
- Note
- You may want to pre-compile your FText pattern into a FTextFormat prior to performing formats within a loop or on a critical path, as this can save CPU cycles, memory, and mutex resources vs re-compiling the pattern for each format call. See FTextFormat for more info.
@usage FText::FormatOrdered(LOCTEXT("PlayerNameFmt", "{0} is really cool"), FText::FromString(PlayerName));
- Parameters
-
Fmt | The format pattern to use |
Args | A variadic list of values to inject into the format pattern |
- Returns
- The formatted FText
Definition at line 1021 of file Text.h.