![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextFormatArgumentModifier.h>
Inheritance diagram for FTextFormatArgumentModifier_GenderForm:Public Member Functions | |
| virtual bool | Validate (const FCultureRef &InCulture, TArray< FString > &OutValidationErrors) const override |
| virtual void | Evaluate (const FFormatArgumentValue &InValue, const FPrivateTextFormatArguments &InFormatArgs, FString &OutResult) const override |
| virtual void | GetFormatArgumentNames (TArray< FString > &OutArgumentNames) const override |
| virtual void | EstimateLength (int32 &OutLength, bool &OutUsesFormatArgs) const override |
Public Member Functions inherited from ITextFormatArgumentModifier | |
| virtual | ~ITextFormatArgumentModifier () |
Static Public Member Functions | |
| static TSharedPtr< ITextFormatArgumentModifier > | Create (const FTextFormatString &InArgsString, const FTextFormatPatternDefinitionConstRef &InPatternDef) |
Additional Inherited Members | |
Static Protected Member Functions inherited from ITextFormatArgumentModifier | |
| static CORE_API bool | ParseKeyValueArgs (const FTextFormatString &InArgsString, TSortedMap< FTextFormatString, FTextFormatString > &OutArgKeyValues, const TCHAR InValueSeparator=TEXT('='), const TCHAR InArgSeparator=TEXT(',')) |
| static CORE_API bool | ParseValueArgs (const FTextFormatString &InArgsString, TArray< FTextFormatString > &OutArgValues, const TCHAR InArgSeparator=TEXT(',')) |
Gender form argument modifier. Takes two (or three) value arguments, where the 0th entry is the masculine version, the 1st entry is the feminine version, and the 2nd entry is an optional neuter version. The values are an optionally quoted string that may contain format markers. eg) |gender(le,la)
|
static |
|
overridevirtual |
Quickly estimate the length of text that this argument modifier will likely inject into the string when evaluated
Implements ITextFormatArgumentModifier.
|
overridevirtual |
Given the argument, evaluate the result and append it to OutResult
Implements ITextFormatArgumentModifier.
|
overridevirtual |
Get any argument names that are used by this argument modifier (for cases where the modifier itself uses format strings)
Implements ITextFormatArgumentModifier.
|
overridevirtual |
Validate the argument modifier is valid based on the rules of the given culture
Implements ITextFormatArgumentModifier.