A text formatter is responsible for formatting text patterns using a set of named or ordered arguments. 更多...
#include <TextFormatter.h>
Public 类型 | |
| typedef TFunction< TSharedPtr< ITextFormatArgumentModifier >(const FTextFormatString &, FTextFormatPatternDefinitionConstRef)> | FCompileTextArgumentModifierFuncPtr |
| Callback function used to compile an argument modifier. 更多... | |
静态 Public 成员函数 | |
| static void | ArgumentValueToFormattedString (const FFormatArgumentValue &InValue, const FPrivateTextFormatArguments &InFormatArgs, FString &OutResult) |
| Incredibly low-level version of FFormatArgumentValue::ToFormattedString. 更多... | |
| static FString | Format (const FTextFormat &InFmt, const FPrivateTextFormatArguments &InFormatArgs) |
| Incredibly low-level version of format. 更多... | |
| static FText | Format (FTextFormat &&InFmt, FFormatNamedArguments &&InArguments, const bool bInRebuildText, const bool bInRebuildAsSource) |
| Low-level versions of Format. 更多... | |
| static FString | FormatStr (const FTextFormat &InFmt, const FFormatNamedArguments &InArguments, const bool bInRebuildText, const bool bInRebuildAsSource) |
| Low-level version of Format that returns a string. 更多... | |
| static FTextFormatter & | Get () |
| Singleton access | |
A text formatter is responsible for formatting text patterns using a set of named or ordered arguments.
| typedef TFunction<TSharedPtr<ITextFormatArgumentModifier>(const FTextFormatString&, FTextFormatPatternDefinitionConstRef)> FTextFormatter::FCompileTextArgumentModifierFuncPtr |
Callback function used to compile an argument modifier.
Takes an argument modifier string and pattern definition, then returns the compiled result.
|
static |
Incredibly low-level version of FFormatArgumentValue::ToFormattedString.
You should only be calling this if you're implementing a custom argument modifier type that itself needs to convert the argument to a string
|
static |
Incredibly low-level version of format.
You should only be calling this if you're implementing a custom argument modifier type that itself needs to format using the private arguments
|
static |
Low-level versions of Format.
You probably want to use FText::Format(...) rather than call these directly
|
static |
Low-level version of Format that returns a string.
This should typically only be used externally when rebuilding the display string for some formatted text