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

#include <LocalizedTextSourceTypes.h>

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

Public Member Functions

 TDisplayStringPtr ()=default
 
 TDisplayStringPtr (TYPE_OF_NULLPTR)
 
 TDisplayStringPtr (const TRefCountPtr< FRefCountedDisplayString > &InDisplayStringPtr)
 
template<typename OtherType >
 TDisplayStringPtr (const TDisplayStringPtr< OtherType > &InOther)
 
template<typename OtherType >
 TDisplayStringPtr (const TDisplayStringRef< OtherType > &InOther)
 
template<typename OtherType >
TDisplayStringPtroperator= (const TDisplayStringPtr< OtherType > &InOther)
 
template<typename OtherType >
TDisplayStringPtroperator= (const TDisplayStringRef< OtherType > &InOther)
 
ObjectType * Get () const
 
void Reset ()
 
TDisplayStringRef< ObjectType > ToSharedRef () 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::TDisplayStringPtr< ObjectType >

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

Constructor & Destructor Documentation

◆ TDisplayStringPtr() [1/5]

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

◆ TDisplayStringPtr() [2/5]

template<typename ObjectType >
UE::Text::Private::TDisplayStringPtr< ObjectType >::TDisplayStringPtr ( TYPE_OF_NULLPTR  )
inline

◆ TDisplayStringPtr() [3/5]

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

◆ TDisplayStringPtr() [4/5]

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

◆ TDisplayStringPtr() [5/5]

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

Member Function Documentation

◆ Get()

template<typename ObjectType >
ObjectType * UE::Text::Private::TDisplayStringPtr< ObjectType >::Get ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Reset()

template<typename ObjectType >
void UE::Text::Private::TDisplayStringPtr< ObjectType >::Reset ( )
inline

◆ ToSharedRef()

template<typename ObjectType >
TDisplayStringRef< ObjectType > UE::Text::Private::TDisplayStringPtr< ObjectType >::ToSharedRef ( ) const
inline

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