Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
StringConv Namespace Reference

Functions

void InlineCombineSurrogates (FString &Str)
 
FORCEINLINE bool IsValidCodepoint (const uint32 Codepoint)
 
FORCEINLINE bool IsHighSurrogate (const uint32 Codepoint)
 
FORCEINLINE bool IsLowSurrogate (const uint32 Codepoint)
 
FORCEINLINE uint32 EncodeSurrogate (const uint16 HighSurrogate, const uint16 LowSurrogate)
 
FORCEINLINE void DecodeSurrogate (const uint32 Codepoint, uint16 &OutHighSurrogate, uint16 &OutLowSurrogate)
 
FORCEINLINE bool IsEncodedSurrogate (const uint32 Codepoint)
 
template<typename CharType >
FORCEINLINE int32 InlineCombineSurrogates_Buffer (CharType *StrBuffer, int32 StrLen)
 
template<typename AllocatorType >
FORCEINLINE void InlineCombineSurrogates_Array (TArray< TCHAR, AllocatorType > &StrBuffer)
 
template<typename ConverterType >
ConverterType::LegacyFromType GetLegacyFromType (typename ConverterType::LegacyFromType *)
 
template<typename ConverterType >
FUnused GetLegacyFromType (...)
 

Function Documentation

◆ DecodeSurrogate()

FORCEINLINE void StringConv::DecodeSurrogate ( const uint32 Codepoint,
uint16 & OutHighSurrogate,
uint16 & OutLowSurrogate )

Definition at line 84 of file StringConv.h.

◆ EncodeSurrogate()

FORCEINLINE uint32 StringConv::EncodeSurrogate ( const uint16 HighSurrogate,
const uint16 LowSurrogate )

Definition at line 79 of file StringConv.h.

◆ GetLegacyFromType() [1/2]

template<typename ConverterType >
FUnused StringConv::GetLegacyFromType ( ...)

◆ GetLegacyFromType() [2/2]

template<typename ConverterType >
ConverterType::LegacyFromType StringConv::GetLegacyFromType ( typename ConverterType::LegacyFromType * )

◆ InlineCombineSurrogates()

void StringConv::InlineCombineSurrogates ( FString & Str)

Inline combine any UTF-16 surrogate pairs in the given string

Definition at line 1603 of file String.cpp.

+ Here is the call graph for this function:

◆ InlineCombineSurrogates_Array()

template<typename AllocatorType >
FORCEINLINE void StringConv::InlineCombineSurrogates_Array ( TArray< TCHAR, AllocatorType > & StrBuffer)

Inline combine any UTF-16 surrogate pairs in the given null-terminated TCHAR array

Definition at line 158 of file StringConv.h.

◆ InlineCombineSurrogates_Buffer()

template<typename CharType >
FORCEINLINE int32 StringConv::InlineCombineSurrogates_Buffer ( CharType * StrBuffer,
int32 StrLen )

Inline combine any UTF-16 surrogate pairs in the given null-terminated character buffer, returning the updated length

Definition at line 99 of file StringConv.h.

◆ IsEncodedSurrogate()

FORCEINLINE bool StringConv::IsEncodedSurrogate ( const uint32 Codepoint)

Is the provided Codepoint outside of the range of the basic multilingual plane, but within the valid range of UTF8/16?

Definition at line 92 of file StringConv.h.

◆ IsHighSurrogate()

FORCEINLINE bool StringConv::IsHighSurrogate ( const uint32 Codepoint)

Is the provided Codepoint within the range of the high-surrogates?

Definition at line 68 of file StringConv.h.

◆ IsLowSurrogate()

FORCEINLINE bool StringConv::IsLowSurrogate ( const uint32 Codepoint)

Is the provided Codepoint within the range of the low-surrogates?

Definition at line 74 of file StringConv.h.

◆ IsValidCodepoint()

FORCEINLINE bool StringConv::IsValidCodepoint ( const uint32 Codepoint)

Is the provided Codepoint within the range of valid codepoints?

Definition at line 57 of file StringConv.h.