Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FMemoryImageString Class Reference

#include <MemoryImage.h>

Public Types

using ElementType = TCHAR
 

Public Member Functions

 FMemoryImageString ()=default
 
 FMemoryImageString (FMemoryImageString &&)=default
 
 FMemoryImageString (const FMemoryImageString &)=default
 
FMemoryImageStringoperator= (FMemoryImageString &&)=default
 
FMemoryImageStringoperator= (const FMemoryImageString &)=default
 
FORCEINLINE FMemoryImageString (const FString &Other)
 
template<typename CharType , typename = typename TEnableIf<TIsCharType<CharType>::Value>::Type>
FORCEINLINE FMemoryImageString (const CharType *Src)
 
FORCEINLINE operator FString () const
 
FORCEINLINE const TCHAR * operator* () const
 
FORCEINLINE bool IsEmpty () const
 
FORCEINLINE SIZE_T GetAllocatedSize () const
 
FORCEINLINE int32 Len () const
 
bool operator== (const FMemoryImageString &Rhs) const
 
bool operator!= (const FMemoryImageString &Rhs) const
 
bool operator== (const FString &Rhs) const
 
bool operator!= (const FString &Rhs) const
 
DataType::ElementAllocatorType & GetAllocatorInstance ()
 

Private Types

using DataType = TMemoryImageArray<TCHAR>
 

Private Member Functions

 DECLARE_EXPORTED_TYPE_LAYOUT (FMemoryImageString,, NonVirtual)
 
 LAYOUT_FIELD (DataType, Data)
 
void ToString (FMemoryToStringContext &OutContext) const
 
 LAYOUT_TOSTRING (ToString)
 

Friends

const TCHAR * GetData (const FMemoryImageString &String)
 
int32 GetNum (const FMemoryImageString &String)
 
FArchiveoperator<< (FArchive &Ar, FMemoryImageString &Ref)
 
FORCEINLINE uint32 GetTypeHash (const FMemoryImageString &S)
 

Detailed Description

Definition at line 738 of file MemoryImage.h.

Member Typedef Documentation

◆ DataType

Array holding the character data

Definition at line 743 of file MemoryImage.h.

◆ ElementType

Definition at line 749 of file MemoryImage.h.

Constructor & Destructor Documentation

◆ FMemoryImageString() [1/5]

FMemoryImageString::FMemoryImageString ( )
default

◆ FMemoryImageString() [2/5]

FMemoryImageString::FMemoryImageString ( FMemoryImageString && )
default

◆ FMemoryImageString() [3/5]

FMemoryImageString::FMemoryImageString ( const FMemoryImageString & )
default

◆ FMemoryImageString() [4/5]

FORCEINLINE FMemoryImageString::FMemoryImageString ( const FString & Other)
inline

Definition at line 757 of file MemoryImage.h.

◆ FMemoryImageString() [5/5]

template<typename CharType , typename = typename TEnableIf<TIsCharType<CharType>::Value>::Type>
FORCEINLINE FMemoryImageString::FMemoryImageString ( const CharType * Src)
inline

Definition at line 763 of file MemoryImage.h.

Member Function Documentation

◆ DECLARE_EXPORTED_TYPE_LAYOUT()

FMemoryImageString::DECLARE_EXPORTED_TYPE_LAYOUT ( FMemoryImageString ,
NonVirtual  )
private

◆ GetAllocatedSize()

FORCEINLINE SIZE_T FMemoryImageString::GetAllocatedSize ( ) const
inline

Definition at line 782 of file MemoryImage.h.

◆ GetAllocatorInstance()

DataType::ElementAllocatorType & FMemoryImageString::GetAllocatorInstance ( )
inline

Definition at line 825 of file MemoryImage.h.

◆ IsEmpty()

FORCEINLINE bool FMemoryImageString::IsEmpty ( ) const
inline

Definition at line 781 of file MemoryImage.h.

◆ LAYOUT_FIELD()

FMemoryImageString::LAYOUT_FIELD ( DataType ,
Data  )
private

◆ LAYOUT_TOSTRING()

FMemoryImageString::LAYOUT_TOSTRING ( ToString )
private

◆ Len()

FORCEINLINE int32 FMemoryImageString::Len ( ) const
inline

Definition at line 784 of file MemoryImage.h.

◆ operator FString()

FORCEINLINE FMemoryImageString::operator FString ( ) const
inline

Definition at line 774 of file MemoryImage.h.

◆ operator!=() [1/2]

bool FMemoryImageString::operator!= ( const FMemoryImageString & Rhs) const
inline

Definition at line 810 of file MemoryImage.h.

◆ operator!=() [2/2]

bool FMemoryImageString::operator!= ( const FString & Rhs) const
inline

Definition at line 820 of file MemoryImage.h.

◆ operator*()

FORCEINLINE const TCHAR * FMemoryImageString::operator* ( ) const
inline

Definition at line 776 of file MemoryImage.h.

◆ operator=() [1/2]

FMemoryImageString & FMemoryImageString::operator= ( const FMemoryImageString & )
default

◆ operator=() [2/2]

FMemoryImageString & FMemoryImageString::operator= ( FMemoryImageString && )
default

◆ operator==() [1/2]

bool FMemoryImageString::operator== ( const FMemoryImageString & Rhs) const
inline

Definition at line 805 of file MemoryImage.h.

◆ operator==() [2/2]

bool FMemoryImageString::operator== ( const FString & Rhs) const
inline

Definition at line 815 of file MemoryImage.h.

◆ ToString()

void FMemoryImageString::ToString ( FMemoryToStringContext & OutContext) const
private

Friends And Related Symbol Documentation

◆ GetData

const TCHAR * GetData ( const FMemoryImageString & String)
friend

Definition at line 789 of file MemoryImage.h.

◆ GetNum

int32 GetNum ( const FMemoryImageString & String)
friend

Definition at line 794 of file MemoryImage.h.

◆ GetTypeHash

FORCEINLINE uint32 GetTypeHash ( const FMemoryImageString & S)
friend

Case insensitive string hash function.

Definition at line 828 of file MemoryImage.h.

◆ operator<<

FArchive & operator<< ( FArchive & Ar,
FMemoryImageString & Ref )
friend

Definition at line 799 of file MemoryImage.h.


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