UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Text::Private::TDisplayStringPtrBase< ObjectType > Class Template Reference

#include <LocalizedTextSourceTypes.h>

+ Inheritance diagram for UE::Text::Private::TDisplayStringPtrBase< ObjectType >:

Public Member Functions

 TDisplayStringPtrBase ()=default
 
 TDisplayStringPtrBase (const TRefCountPtr< FRefCountedDisplayString > &InDisplayStringPtr)
 
 operator bool () const
 
bool IsValid () const
 
ObjectType & operator* () const
 
ObjectType * operator-> () const
 
const TRefCountPtr< FRefCountedDisplayString > & Private_GetDisplayStringPtr () const
 
template<typename OtherObjectType >
bool UEOpEquals (const TDisplayStringPtrBase< OtherObjectType > &Rhs) const
 

Protected Member Functions

FString & GetDisplayString () const
 

Protected Attributes

TRefCountPtr< FRefCountedDisplayStringDisplayStringPtr
 

Detailed Description

template<typename ObjectType>
class UE::Text::Private::TDisplayStringPtrBase< ObjectType >

Wrapper to give TRefCountPtr a minimal TSharedRef/TSharedPtr interface for backwards compatibility with code that was already using FTextDisplayStringRef/FTextDisplayStringPtr

Constructor & Destructor Documentation

◆ TDisplayStringPtrBase() [1/2]

template<typename ObjectType >
UE::Text::Private::TDisplayStringPtrBase< ObjectType >::TDisplayStringPtrBase ( )
default

◆ TDisplayStringPtrBase() [2/2]

template<typename ObjectType >
UE::Text::Private::TDisplayStringPtrBase< ObjectType >::TDisplayStringPtrBase ( const TRefCountPtr< FRefCountedDisplayString > &  InDisplayStringPtr)
inlineexplicit

Member Function Documentation

◆ GetDisplayString()

template<typename ObjectType >
FString & UE::Text::Private::TDisplayStringPtrBase< ObjectType >::GetDisplayString ( ) const
inlineprotected

◆ IsValid()

template<typename ObjectType >
bool UE::Text::Private::TDisplayStringPtrBase< ObjectType >::IsValid ( ) const
inline

◆ operator bool()

template<typename ObjectType >
UE::Text::Private::TDisplayStringPtrBase< ObjectType >::operator bool ( ) const
inlineexplicit

◆ operator*()

template<typename ObjectType >
ObjectType & UE::Text::Private::TDisplayStringPtrBase< ObjectType >::operator* ( ) const
inline

◆ operator->()

template<typename ObjectType >
ObjectType * UE::Text::Private::TDisplayStringPtrBase< ObjectType >::operator-> ( ) const
inline

◆ Private_GetDisplayStringPtr()

template<typename ObjectType >
const TRefCountPtr< FRefCountedDisplayString > & UE::Text::Private::TDisplayStringPtrBase< ObjectType >::Private_GetDisplayStringPtr ( ) const
inline

◆ UEOpEquals()

template<typename ObjectType >
bool UE::Text::Private::TDisplayStringPtrBase< ObjectType >::UEOpEquals ( const TDisplayStringPtrBase< OtherObjectType > &  Rhs) const
inline

Member Data Documentation

◆ DisplayStringPtr

template<typename ObjectType >
TRefCountPtr<FRefCountedDisplayString> UE::Text::Private::TDisplayStringPtrBase< ObjectType >::DisplayStringPtr
protected

The documentation for this class was generated from the following file: