Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/GenericPlatform
Inheritance Hierarchy
- FGenericPlatformTypes
- FUnixPlatformTypes
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatform.h |
Include | #include "GenericPlatform/GenericPlatform.h" |
Syntax
struct FGenericPlatformTypes
Remarks
Generic types for almost all compilers and platforms
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
decltype(nullptr) typedef | TYPE_OF_NULLPTR |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
UTF8CHAR | An 8-bit character type. In-memory only. 8-bit representation. Should really be char8_t but making this the generic option is easier for compilers which don't fully support C++20 yet. |
Typedefs
Name | Description |
---|---|
ANSICHAR | An ANSI character. 8-bit fixed-width representation of 7-bit characters. |
CHAR16 | A 16-bit character type. In-memory only. 16-bit representation. Should really be char16_t but making this the generic option is easier for compilers which don't fully support C++11 yet (i.e. MSVC). |
CHAR32 | A 32-bit character type. In-memory only. 32-bit representation. Should really be char32_t but making this the generic option is easier for compilers which don't fully support C++11 yet (i.e. MSVC). |
CHAR8 | An 8-bit character type. In-memory only. 8-bit representation. |
int16 | 16-bit signed integer |
int32 | 32-bit signed integer |
int64 | 64-bit signed integer |
int8 | 8-bit signed integer |
PTRINT | Signed int. The same size as a pointer. |
SIZE_T | Unsigned int. The same size as a pointer. |
SSIZE_T | Signed int. The same size as a pointer. |
TCHAR | A switchable character. In-memory only. Either ANSICHAR or WIDECHAR, depending on a licensee's requirements. |
TYPE_OF_NULL | |
uint16 | 16-bit unsigned integer |
uint32 | 32-bit unsigned integer |
uint64 | 64-bit unsigned integer |
uint8 | 8-bit unsigned integer |
UPTRINT | Unsigned int. The same size as a pointer. |
WIDECHAR | A wide character. In-memory only. ?-bit fixed-width representation of the platform's natural wide character set. Could be different sizes on different platforms. |