Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Internationalization/ITextFormatArgumentModifier.h |
Include | #include "Internationalization/ITextFormatArgumentModifier.h" |
Syntax
class FTextFormatString
Remarks
Type used as a string literal by the text formatter. It is a case sensitive string that can hold onto a string either by pointer (in which case the data being pointed to must outlive this object), or by taking a copy (stored as an FString internally).
The buffer is not guaranteed to be null terminated, so always test the length!
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | StringLen | The length of the string |
![]() |
const TCHAR * | StringPtr | The start of the string |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Construct an empty string | ||
![]() |
FTextFormatString
(
FString InStr |
Construct from the given string (steals the value) | |
![]() |
FTextFormatString
(
const TCHAR* InStr |
Construct from the given string (takes a copy, expected to be null terminated) | |
![]() |
FTextFormatString
(
const FTextFormatString& Other |
||
![]() |
FTextFormatString
(
FTextFormatString&& Other |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FTextFormatString | MakeReference
(
const TCHAR* InStr |
Construct from the given string (takes a reference, expected to be null terminated) |
![]() ![]() |
FTextFormatString | MakeReference
(
const TCHAR* InStr, |
Construct from the given pointer and size (takes a sub-string reference, doesn't have to be null terminated) |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FTextFormatString & | operator=
(
const FTextFormatString& Other |
|
![]() |
FTextFormatString & | operator=
(
FTextFormatString&& Other |