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

#include <LocalizedTextSourceTypes.h>

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

Public Member Functions

 TDisplayStringRef ()=default
 
 TDisplayStringRef (const TRefCountPtr< FRefCountedDisplayString > &InDisplayStringPtr)
 
template<typename OtherType >
 TDisplayStringRef (const TDisplayStringRef< OtherType > &InOther)
 
template<typename OtherType >
TDisplayStringRefoperator= (const TDisplayStringRef< OtherType > &InOther)
 
ObjectType & Get () const
 
- Public Member Functions inherited from UE::Text::Private::TDisplayStringPtrBase< ObjectType >
 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
 

Additional Inherited Members

- Protected Member Functions inherited from UE::Text::Private::TDisplayStringPtrBase< ObjectType >
FString & GetDisplayString () const
 
- Protected Attributes inherited from UE::Text::Private::TDisplayStringPtrBase< ObjectType >
TRefCountPtr< FRefCountedDisplayStringDisplayStringPtr
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ TDisplayStringRef() [1/3]

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

◆ TDisplayStringRef() [2/3]

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

◆ TDisplayStringRef() [3/3]

template<typename ObjectType >
template<typename OtherType >
UE::Text::Private::TDisplayStringRef< ObjectType >::TDisplayStringRef ( const TDisplayStringRef< OtherType > &  InOther)
inline

Member Function Documentation

◆ Get()

template<typename ObjectType >
ObjectType & UE::Text::Private::TDisplayStringRef< ObjectType >::Get ( ) const
inline

◆ operator=()

template<typename ObjectType >
template<typename OtherType >
TDisplayStringRef & UE::Text::Private::TDisplayStringRef< ObjectType >::operator= ( const TDisplayStringRef< OtherType > &  InOther)
inline

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