Navigation
API > API/Runtime > API/Runtime/Core
Wrapper to give TRefCountPtr a minimal TSharedPtr interface for backwards compatibility with code that was already using FTextDisplayStringPtr
| Name | TDisplayStringPtr |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/LocalizedTextSourceTypes.h |
| Include Path | #include "Internationalization/LocalizedTextSourceTypes.h" |
Syntax
template<typename ObjectType>
class TDisplayStringPtr : public UE::Text::Private::TDisplayStringPtrBase< ObjectType >
Inheritance Hierarchy
- TDisplayStringPtrBase → TDisplayStringPtr
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Internationalization/LocalizedTextSourceTypes.h | |||
TDisplayStringPtr
(
TYPE_OF_NULLPTR |
Internationalization/LocalizedTextSourceTypes.h | ||
TDisplayStringPtr
(
const TRefCountPtr< FRefCountedDisplayString >& InDisplayStringPtr |
Internationalization/LocalizedTextSourceTypes.h | ||
TDisplayStringPtr
(
const TDisplayStringPtr< OtherType >& InOther |
Internationalization/LocalizedTextSourceTypes.h | ||
TDisplayStringPtr
(
const TDisplayStringRef< OtherType >& InOther |
Internationalization/LocalizedTextSourceTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ObjectType * Get() |
Internationalization/LocalizedTextSourceTypes.h | ||
void Reset() |
Internationalization/LocalizedTextSourceTypes.h | ||
TDisplayStringRef< ObjectType > ToSharedRef() |
Internationalization/LocalizedTextSourceTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDisplayStringPtr & operator=
(
const TDisplayStringPtr< OtherType >& InOther |
Internationalization/LocalizedTextSourceTypes.h | ||
TDisplayStringPtr & operator=
(
const TDisplayStringRef< OtherType >& InOther |
Internationalization/LocalizedTextSourceTypes.h |