TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Define.h File Reference
#include "CompilerDefs.h"
#include <cstddef>
#include <cinttypes>
#include <climits>
+ Include dependency graph for Define.h:

Go to the source code of this file.

Macros

#define TRINITY_LITTLEENDIAN   0
 
#define TRINITY_BIGENDIAN   1
 
#define TRINITY_ENDIAN   TRINITY_LITTLEENDIAN
 
#define TRINITY_PATH_MAX   PATH_MAX
 
#define DECLSPEC_NORETURN
 
#define DECLSPEC_DEPRECATED
 
#define TRINITY_INLINE   inline
 
#define ATTR_NORETURN
 COREDEBUG. More...
 
#define ATTR_PRINTF(F, V)
 
#define ATTR_DEPRECATED
 
#define TRINITY_CONSTEXPR
 
#define TC_API_EXPORT
 
#define TC_API_IMPORT
 
#define TC_COMMON_API   TC_API_IMPORT
 
#define TC_DATABASE_API   TC_API_IMPORT
 
#define TC_SHARED_API   TC_API_IMPORT
 
#define TC_GAME_API   TC_API_IMPORT
 
#define UI64FMTD   "%" PRIu64
 
#define UI64LIT(N)   UINT64_C(N)
 
#define SI64FMTD   "%" PRId64
 
#define SI64LIT(N)   INT64_C(N)
 
#define SZFMTD   "%" PRIuPTR
 

Typedefs

typedef int64_t int64
 
typedef int32_t int32
 
typedef int16_t int16
 
typedef int8_t int8
 
typedef uint64_t uint64
 
typedef uint32_t uint32
 
typedef uint16_t uint16
 
typedef uint8_t uint8
 

Enumerations

enum  DBCFormer {
  FT_NA = 'x', FT_NA_BYTE = 'X', FT_STRING = 's', FT_STRING_NOT_LOCALIZED = 'S',
  FT_FLOAT = 'f', FT_INT = 'i', FT_BYTE = 'b', FT_LONG = 'l',
  FT_SORT = 'd', FT_IND = 'n', FT_SQL_PRESENT = 'p', FT_SQL_ABSENT = 'a'
}
 

Macro Definition Documentation

#define ATTR_DEPRECATED
#define ATTR_NORETURN

COREDEBUG.

#define ATTR_PRINTF (   F,
 
)
#define DECLSPEC_DEPRECATED
#define DECLSPEC_NORETURN
#define SI64FMTD   "%" PRId64
#define SI64LIT (   N)    INT64_C(N)
#define SZFMTD   "%" PRIuPTR
#define TC_API_EXPORT
#define TC_API_IMPORT
#define TC_COMMON_API   TC_API_IMPORT
#define TC_DATABASE_API   TC_API_IMPORT
#define TC_GAME_API   TC_API_IMPORT
#define TC_SHARED_API   TC_API_IMPORT
#define TRINITY_BIGENDIAN   1
#define TRINITY_CONSTEXPR
#define TRINITY_ENDIAN   TRINITY_LITTLEENDIAN
#define TRINITY_INLINE   inline
#define TRINITY_LITTLEENDIAN   0
#define TRINITY_PATH_MAX   PATH_MAX
#define UI64FMTD   "%" PRIu64
#define UI64LIT (   N)    UINT64_C(N)

Typedef Documentation

typedef int16_t int16
typedef int32_t int32
typedef int64_t int64
typedef int8_t int8
typedef uint16_t uint16
typedef uint32_t uint32
typedef uint64_t uint64
typedef uint8_t uint8

Enumeration Type Documentation

enum DBCFormer
Enumerator
FT_NA 
FT_NA_BYTE 
FT_STRING 
FT_STRING_NOT_LOCALIZED 
FT_FLOAT 
FT_INT 
FT_BYTE 
FT_LONG 
FT_SORT 
FT_IND 
FT_SQL_PRESENT 
FT_SQL_ABSENT 
155 {
156  FT_NA = 'x', //not used or unknown, 4 byte size
157  FT_NA_BYTE = 'X', //not used or unknown, byte
158  FT_STRING = 's', //char*
159  FT_STRING_NOT_LOCALIZED = 'S', //char* but without locale in DB2
160  FT_FLOAT = 'f', //float
161  FT_INT = 'i', //uint32
162  FT_BYTE = 'b', //uint8
163  FT_LONG = 'l', //uint64
164  FT_SORT = 'd', //sorted by this field, field is not included
165  FT_IND = 'n', //the same, but parsed to data
166  FT_SQL_PRESENT = 'p', //Used in sql format to mark column present in sql dbc
167  FT_SQL_ABSENT = 'a' //Used in sql format to mark column absent in sql dbc
168 };
Definition: Define.h:163
Definition: Define.h:161
Definition: Define.h:160
Definition: Define.h:167
Definition: Define.h:165
Definition: Define.h:162
Definition: Define.h:158
Definition: Define.h:164
Definition: Define.h:157
Definition: Define.h:159
Definition: Define.h:166
Definition: Define.h:156