Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/GenericPlatform
Inheritance Hierarchy
- FGenericPlatformStricmp
- FGenericPlatformString
- FGenericWidePlatformString
- FMicrosoftPlatformString
- FStandardPlatformString
- FUnixPlatformString
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h |
| Include | #include "GenericPlatform/GenericPlatformString.h" |
Syntax
struct FGenericPlatformString : public FGenericPlatformStricmp
Remarks
Generic string implementation for most platforms
Functions
| Type | Name | Description | |
|---|---|---|---|
| constexpr bool | CanConvertCodepoint
(
SourceEncoding Codepoint |
Tests whether a particular codepoint can be converted to the destination encoding. | |
| DestEncoding * | Convert
(
DestEncoding* Dest, |
Converts the [Src, Src+SrcSize) string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range. | |
| int32 | ConvertedLength
(
const SourceEncoding* Src |
Returns the required buffer length for the null-terminated Src string when converted to the DestChar encoding. | |
| int32 | ConvertedLength
(
const SourceEncoding* Src, |
Returns the required buffer length for the [Src, Src+SrcSize) string when converted to the DestChar encoding. | |
| const ANSICHAR * | |||
| const TCHAR * | |||
| const TCHAR * | |||
| const TCHAR * | |||
| const TCHAR * | |||
| const TCHAR * | Returns the string representing the name of the given encoding type. | ||
| int32 | |||
| int32 | Strncmp
(
const ANSICHAR* String1, |
||
| int32 | Strncmp
(
const WIDECHAR* String1, |
||
| int32 | |||
| int32 | Strncmp
(
const ANSICHAR* String1, |
||
| int32 | Strncmp
(
const WIDECHAR* String1, |
||
| int32 | |||
| int32 | |||
| int32 |
Constants
| Name | Description |
|---|---|
| IsUnicodeEncoded | True if the encoding type of the string is some form of unicode |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| DestEncoding * | Convert
(
DestEncoding* Dest, |
TAreEncodingsCompatible is deprecated, use TIsCharEncodingCompatibleWith_V |
|
| constexpr bool | FPlatformString::IsCharEncodingCompatibleWith() has been deprecated in favor of TIsCharEncodingCompatibleWith_V | ||
| constexpr bool | FPlatformString::IsCharEncodingSimplyConvertibleTo() has been deprecated in favor of TIsCharEncodingSimplyConvertibleTo_V | ||
| constexpr bool | FPlatformString::IsFixedWidthEncoding |