Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
BasicTypes.h File Reference
#include <Windows.h>
+ Include dependency graph for BasicTypes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SelectIntPointerType< T32BITS, T64BITS, PointerSize >
 
struct  SelectIntPointerType< T32BITS, T64BITS, 8 >
 
struct  SelectIntPointerType< T32BITS, T64BITS, 4 >
 
struct  FGenericPlatformTypes
 
struct  FWindowsPlatformTypes
 

Macros

#define RESTRICT   __restrict /* no alias hint */
 
#define FORCENOINLINE   __declspec(noinline) /* Force code to NOT be inline */
 
#define CONSTEXPR   constexpr
 
#define PLATFORM_HAS_64BIT_ATOMICS   1
 
#define PLATFORM_64BITS   1
 
#define PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS   1
 
#define PLATFORM_LITTLE_ENDIAN   1
 
#define check(expr)   {}
 
#define checkSlow(expr)   {}
 
#define checkf(...)   {}
 
#define CA_ASSUME(Expr)   {}
 
#define ASSUME(Expr)   {}
 
#define ensureMsgf(Expr, Expr2)   {}
 
#define MS_ALIGN(n)   __declspec(align(n))
 
#define GCC_ALIGN(n)
 

Typedefs

typedef FWindowsPlatformTypes FPlatformTypes
 
typedef FPlatformTypes::uint8 uint8
 
typedef FPlatformTypes::uint16 uint16
 A 16-bit unsigned integer.
 
typedef FPlatformTypes::uint32 uint32
 A 32-bit unsigned integer.
 
typedef FPlatformTypes::uint64 uint64
 A 64-bit unsigned integer.
 
typedef FPlatformTypes::int8 int8
 An 8-bit signed integer.
 
typedef FPlatformTypes::int16 int16
 A 16-bit signed integer.
 
typedef FPlatformTypes::int32 int32
 A 32-bit signed integer.
 
typedef FPlatformTypes::int64 int64
 A 64-bit signed integer.
 
typedef FPlatformTypes::ANSICHAR ANSICHAR
 An ANSI character. Normally a signed type.
 
typedef FPlatformTypes::WIDECHAR WIDECHAR
 A wide character. Normally a signed type.
 
typedef FPlatformTypes::TCHAR TCHAR
 Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requirements of the licensee.
 
typedef FPlatformTypes::CHAR8 UTF8CHAR
 An 8-bit character containing a UTF8 (Unicode, 8-bit, variable-width) code unit.
 
typedef FPlatformTypes::CHAR16 UCS2CHAR
 A 16-bit character containing a UCS2 (Unicode, 16-bit, fixed-width) code unit, used for compatibility with 'Windows TCHAR' across multiple platforms.
 
typedef FPlatformTypes::CHAR16 UTF16CHAR
 A 16-bit character containing a UTF16 (Unicode, 16-bit, variable-width) code unit.
 
typedef FPlatformTypes::CHAR32 UTF32CHAR
 A 32-bit character containing a UTF32 (Unicode, 32-bit, fixed-width) code unit.
 
typedef FPlatformTypes::UPTRINT UPTRINT
 An unsigned integer the same size as a pointer.
 
typedef FPlatformTypes::PTRINT PTRINT
 A signed integer the same size as a pointer.
 
typedef FPlatformTypes::SIZE_T SIZE_T
 An unsigned integer the same size as a pointer, the same as UPTRINT.
 
typedef FPlatformTypes::SSIZE_T SSIZE_T
 An integer the same size as a pointer, the same as PTRINT.
 
typedef FPlatformTypes::TYPE_OF_NULL TYPE_OF_NULL
 The type of the NULL constant.
 
typedef FPlatformTypes::TYPE_OF_NULLPTR TYPE_OF_NULLPTR
 The type of the C++ nullptr keyword.
 

Enumerations

enum  { INDEX_NONE = -1 }
 
enum  EForceInit { ForceInit , ForceInitToZero }
 
enum  ENoInit { NoInit }
 

Macro Definition Documentation

◆ ASSUME

#define ASSUME ( Expr)    {}

Definition at line 18 of file BasicTypes.h.

◆ CA_ASSUME

#define CA_ASSUME ( Expr)    {}

Definition at line 17 of file BasicTypes.h.

◆ check

#define check ( expr)    {}

Definition at line 14 of file BasicTypes.h.

◆ checkf

#define checkf ( ...)    {}

Definition at line 16 of file BasicTypes.h.

◆ checkSlow

#define checkSlow ( expr)    {}

Definition at line 15 of file BasicTypes.h.

◆ CONSTEXPR

#define CONSTEXPR   constexpr

Definition at line 7 of file BasicTypes.h.

◆ ensureMsgf

#define ensureMsgf ( Expr,
Expr2 )   {}

Definition at line 19 of file BasicTypes.h.

◆ FORCENOINLINE

#define FORCENOINLINE   __declspec(noinline) /* Force code to NOT be inline */

Definition at line 6 of file BasicTypes.h.

◆ GCC_ALIGN

#define GCC_ALIGN ( n)

Definition at line 22 of file BasicTypes.h.

◆ MS_ALIGN

#define MS_ALIGN ( n)    __declspec(align(n))

Definition at line 21 of file BasicTypes.h.

◆ PLATFORM_64BITS

#define PLATFORM_64BITS   1

Definition at line 10 of file BasicTypes.h.

◆ PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS

#define PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS   1

Definition at line 11 of file BasicTypes.h.

◆ PLATFORM_HAS_64BIT_ATOMICS

#define PLATFORM_HAS_64BIT_ATOMICS   1

Definition at line 9 of file BasicTypes.h.

◆ PLATFORM_LITTLE_ENDIAN

#define PLATFORM_LITTLE_ENDIAN   1

Definition at line 12 of file BasicTypes.h.

◆ RESTRICT

#define RESTRICT   __restrict /* no alias hint */

Definition at line 5 of file BasicTypes.h.

Typedef Documentation

◆ ANSICHAR

An ANSI character. Normally a signed type.

Definition at line 116 of file BasicTypes.h.

◆ FPlatformTypes

Definition at line 94 of file BasicTypes.h.

◆ int16

A 16-bit signed integer.

Definition at line 108 of file BasicTypes.h.

◆ int32

A 32-bit signed integer.

Definition at line 110 of file BasicTypes.h.

◆ int64

A 64-bit signed integer.

Definition at line 112 of file BasicTypes.h.

◆ int8

An 8-bit signed integer.

Definition at line 106 of file BasicTypes.h.

◆ PTRINT

typedef FPlatformTypes::PTRINT PTRINT

A signed integer the same size as a pointer.

Definition at line 133 of file BasicTypes.h.

◆ SIZE_T

An unsigned integer the same size as a pointer, the same as UPTRINT.

Definition at line 135 of file BasicTypes.h.

◆ SSIZE_T

An integer the same size as a pointer, the same as PTRINT.

Definition at line 137 of file BasicTypes.h.

◆ TCHAR

Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requirements of the licensee.

Definition at line 120 of file BasicTypes.h.

◆ TYPE_OF_NULL

The type of the NULL constant.

Definition at line 140 of file BasicTypes.h.

◆ TYPE_OF_NULLPTR

The type of the C++ nullptr keyword.

Definition at line 142 of file BasicTypes.h.

◆ UCS2CHAR

A 16-bit character containing a UCS2 (Unicode, 16-bit, fixed-width) code unit, used for compatibility with 'Windows TCHAR' across multiple platforms.

Definition at line 124 of file BasicTypes.h.

◆ uint16

A 16-bit unsigned integer.

Definition at line 98 of file BasicTypes.h.

◆ uint32

A 32-bit unsigned integer.

Definition at line 100 of file BasicTypes.h.

◆ uint64

A 64-bit unsigned integer.

Definition at line 102 of file BasicTypes.h.

◆ uint8

Definition at line 96 of file BasicTypes.h.

◆ UPTRINT

typedef FPlatformTypes::UPTRINT UPTRINT

An unsigned integer the same size as a pointer.

Definition at line 131 of file BasicTypes.h.

◆ UTF16CHAR

A 16-bit character containing a UTF16 (Unicode, 16-bit, variable-width) code unit.

Definition at line 126 of file BasicTypes.h.

◆ UTF32CHAR

A 32-bit character containing a UTF32 (Unicode, 32-bit, fixed-width) code unit.

Definition at line 128 of file BasicTypes.h.

◆ UTF8CHAR

An 8-bit character containing a UTF8 (Unicode, 8-bit, variable-width) code unit.

Definition at line 122 of file BasicTypes.h.

◆ WIDECHAR

A wide character. Normally a signed type.

Definition at line 118 of file BasicTypes.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
INDEX_NONE 

Definition at line 144 of file BasicTypes.h.

◆ EForceInit

enum EForceInit
Enumerator
ForceInit 
ForceInitToZero 

Definition at line 146 of file BasicTypes.h.

◆ ENoInit

enum ENoInit
Enumerator
NoInit 

Definition at line 151 of file BasicTypes.h.