FGenericPlatformString

Inheritance Hierarchy

Syntax

struct FGenericPlatformString : public FGenericPlatformStricmp

Remarks

Generic string implementation for most platforms

Functions

Name Description

Public function Static

bool

 

CanConvertChar

(
    SourceEncoding Ch
)

Tests whether a particular character can be converted to the destination encoding.

Public function Static

TEnableIf < T ...

 

Convert

(
    DestEncoding* Dest,
    int32 DestSize,
    const SourceEncoding* Src,
    int32 SrcSize,
    DestEncoding BogusChar
)

Converts the [Src, Src+SrcSize) string range from SourceChar to DestChar and writes it to the [Dest, Dest+DestSize) range.

Public function Static

TEnableIf < &...

 

Convert

(
    DestEncoding* Dest,
    int32 DestSize,
    const SourceEncoding* Src,
    int32 SrcSize,
    DestEncoding BogusChar
)

Converts the [Src, Src+SrcSize) string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range.

Public function Static

TEnableIf < T ...

 

ConvertedLength

(
    const SourceEncoding* Src,
    int32 SrcSize
)

Returns the required buffer length for the [Src, Src+SrcSize) string when converted to the DestChar encoding.

Public function Static

const ANSICH ...

 

GetEncodingName()

Public function Static

const TCHAR ...

 

GetEncodingTypeName()

Returns the string representing the name of the given encoding type.

Public function

const TCHAR ...

 

GetEncodingTypeName()

Public function

const TCHAR ...

 

GetEncodingTypeName()

Public function

const TCHAR ...

 

GetEncodingTypeName()

Public function Static

bool

 

IsValidChar

(
    Encoding Ch
)

Tests whether a particular character is a valid member of its encoding.

Public function

bool

 

IsValidChar

(
    ANSICHAR Ch
)

Specialization of IsValidChar for ANSICHARs.

Classes

Name

Description

Public struct

TAreEncodingsCompatible

Metafunction which tests whether two encodings are compatible.

Public struct

TIsFixedWidthEncoding

Public struct

TIsFixedWidthEncoding_Helper

Metafunction which tests whether a given character type represents a fixed-width encoding.

Public struct

TIsFixedWidthEncoding_Helper< Dummy, ANSICHAR >

Public struct

TIsFixedWidthEncoding_Helper< Dummy, UCS2CHAR >

Public struct

TIsFixedWidthEncoding_Helper< Dummy, WIDECHAR >

Constants

Name

Description

IsUnicodeEncoded

True if the encoding type of the string is some form of unicode

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformString.h