CFx SDK Documentation  2020SP3
Macros | Typedefs
OdPlatformSettings.h File Reference
#include <stddef.h>
#include <stdlib.h>
#include <limits.h>
#include "Int64.h"

Go to the source code of this file.

Macros

#define TD_UNICODE
 
#define __has_feature(x)   0
 
#define __has_extension(x)   0
 
#define ODRX_OVERRIDE
 
#define ODRX_ABSTRACT
 
#define ODRX_SEALED
 
#define ODRX_SEALED_VIRTUAL
 
#define ODRX_OVERRIDE_DESTRUCTOR
 
#define TD_FUNC   __FUNCTION__
 
#define OD_LOGB   logb
 
#define OD_POSIX_THREADS
 
#define OD_HAVE_COMPLEX_FILE
 
#define OD_T(x)   ( (const OdChar*)__OD_T(x))
 
#define __OD_T(x)   L ## x
 
#define OD_CONCAT(a, b)   L##a b
 
#define DDLL(a)   a##ULL
 
#define ODCHAR_IS_INT16LE   0
 
#define OD_ATOI64   atoi
 
#define PERCENT18LONG   "%18d\r\n"
 
#define HANDLEFORMAT   "%X\r\n"
 
#define PRId64W   L"%lld"
 
#define PRIu64W   L"%llu"
 
#define PRIx64W   L"%llx"
 
#define PRIX64W   L"%llX"
 
#define PRId64   "%lld"
 
#define PRIu64   "%llu"
 
#define PRIx64   "%llx"
 
#define PRIX64   "%llX"
 
#define OD_SIZEOF_PTR   OD_SIZEOF_LONG
 
#define OdIntToPtr(arg)   ((void*)((ptrdiff_t)(arg)))
 
#define OdPtrToInt32(arg)   ((OdInt32)((ptrdiff_t)(arg)))
 
#define OdIntToGsMarker(arg)   ((OdGsMarker)((ptrdiff_t)(arg)))
 
#define OD_TOOLKIT_EXPORT
 
#define OD_STATIC_EXPORT
 
#define OD_TOOLKIT_IMPORT
 
#define OD_STATIC_IMPORT
 
#define OD_DLL_EXPORT
 
#define OD_DLL_IMPORT
 
#define OD_EXTERN
 

Typedefs

typedef wchar_t OdChar
 
typedef wchar_t OdUChar
 
typedef signed char OdInt8
 
typedef short OdInt16
 
typedef int OdInt
 
typedef unsigned char OdUInt8
 
typedef unsigned short OdUInt16
 
typedef int OdInt32
 
typedef unsigned int OdUInt32
 
typedef voidVoidPtr
 
typedef ptrdiff_t OdIntPtr
 
typedef ptrdiff_t OdGsMarker
 
typedef ptrdiff_t OdHWnd
 

Macro Definition Documentation

◆ __has_extension

#define __has_extension (   x)    0

Definition at line 103 of file OdPlatformSettings.h.

◆ __has_feature

#define __has_feature (   x)    0

Definition at line 99 of file OdPlatformSettings.h.

◆ __OD_T

#define __OD_T (   x)    L ## x

Definition at line 718 of file OdPlatformSettings.h.

◆ DDLL

#define DDLL (   a)    a##ULL

Definition at line 738 of file OdPlatformSettings.h.

◆ HANDLEFORMAT

#define HANDLEFORMAT   "%X\r\n"

Definition at line 826 of file OdPlatformSettings.h.

◆ OD_ATOI64

#define OD_ATOI64   atoi

Definition at line 823 of file OdPlatformSettings.h.

◆ OD_CONCAT

#define OD_CONCAT (   a,
 
)    L##a b

Definition at line 736 of file OdPlatformSettings.h.

◆ OD_DLL_EXPORT

#define OD_DLL_EXPORT

Definition at line 951 of file OdPlatformSettings.h.

◆ OD_DLL_IMPORT

#define OD_DLL_IMPORT

Definition at line 952 of file OdPlatformSettings.h.

◆ OD_EXTERN

#define OD_EXTERN

Definition at line 953 of file OdPlatformSettings.h.

◆ OD_HAVE_COMPLEX_FILE

#define OD_HAVE_COMPLEX_FILE

Definition at line 703 of file OdPlatformSettings.h.

◆ OD_LOGB

#define OD_LOGB   logb

Definition at line 695 of file OdPlatformSettings.h.

◆ OD_POSIX_THREADS

#define OD_POSIX_THREADS

Definition at line 701 of file OdPlatformSettings.h.

◆ OD_SIZEOF_PTR

#define OD_SIZEOF_PTR   OD_SIZEOF_LONG

Definition at line 898 of file OdPlatformSettings.h.

◆ OD_STATIC_EXPORT

#define OD_STATIC_EXPORT

Definition at line 947 of file OdPlatformSettings.h.

◆ OD_STATIC_IMPORT

#define OD_STATIC_IMPORT

Definition at line 949 of file OdPlatformSettings.h.

◆ OD_T

#define OD_T (   x)    ( (const OdChar*)__OD_T(x))

Definition at line 714 of file OdPlatformSettings.h.

◆ OD_TOOLKIT_EXPORT

#define OD_TOOLKIT_EXPORT

Definition at line 946 of file OdPlatformSettings.h.

◆ OD_TOOLKIT_IMPORT

#define OD_TOOLKIT_IMPORT

Definition at line 948 of file OdPlatformSettings.h.

◆ ODCHAR_IS_INT16LE

#define ODCHAR_IS_INT16LE   0

Definition at line 752 of file OdPlatformSettings.h.

◆ OdIntToGsMarker

#define OdIntToGsMarker (   arg)    ((OdGsMarker)((ptrdiff_t)(arg)))

Definition at line 905 of file OdPlatformSettings.h.

◆ OdIntToPtr

#define OdIntToPtr (   arg)    ((void*)((ptrdiff_t)(arg)))

Definition at line 901 of file OdPlatformSettings.h.

◆ OdPtrToInt32

#define OdPtrToInt32 (   arg)    ((OdInt32)((ptrdiff_t)(arg)))

Definition at line 903 of file OdPlatformSettings.h.

◆ ODRX_ABSTRACT

#define ODRX_ABSTRACT

Definition at line 117 of file OdPlatformSettings.h.

◆ ODRX_OVERRIDE

#define ODRX_OVERRIDE

Definition at line 114 of file OdPlatformSettings.h.

◆ ODRX_OVERRIDE_DESTRUCTOR

#define ODRX_OVERRIDE_DESTRUCTOR

Definition at line 126 of file OdPlatformSettings.h.

◆ ODRX_SEALED

#define ODRX_SEALED

Definition at line 118 of file OdPlatformSettings.h.

◆ ODRX_SEALED_VIRTUAL

#define ODRX_SEALED_VIRTUAL

Definition at line 119 of file OdPlatformSettings.h.

◆ PERCENT18LONG

#define PERCENT18LONG   "%18d\r\n"

Definition at line 825 of file OdPlatformSettings.h.

◆ PRId64

#define PRId64   "%lld"

Definition at line 869 of file OdPlatformSettings.h.

◆ PRId64W

#define PRId64W   L"%lld"

Definition at line 857 of file OdPlatformSettings.h.

◆ PRIu64

#define PRIu64   "%llu"

Definition at line 872 of file OdPlatformSettings.h.

◆ PRIu64W

#define PRIu64W   L"%llu"

Definition at line 860 of file OdPlatformSettings.h.

◆ PRIx64

#define PRIx64   "%llx"

Definition at line 875 of file OdPlatformSettings.h.

◆ PRIX64

#define PRIX64   "%llX"

Definition at line 878 of file OdPlatformSettings.h.

◆ PRIx64W

#define PRIx64W   L"%llx"

Definition at line 863 of file OdPlatformSettings.h.

◆ PRIX64W

#define PRIX64W   L"%llX"

Definition at line 866 of file OdPlatformSettings.h.

◆ TD_FUNC

#define TD_FUNC   __FUNCTION__

Definition at line 129 of file OdPlatformSettings.h.

◆ TD_UNICODE

#define TD_UNICODE

Definition at line 35 of file OdPlatformSettings.h.

Typedef Documentation

◆ OdChar

typedef wchar_t OdChar

Definition at line 745 of file OdPlatformSettings.h.

◆ OdGsMarker

typedef ptrdiff_t OdGsMarker

Definition at line 889 of file OdPlatformSettings.h.

◆ OdHWnd

typedef ptrdiff_t OdHWnd

Definition at line 891 of file OdPlatformSettings.h.

◆ OdInt

typedef int OdInt

Definition at line 757 of file OdPlatformSettings.h.

◆ OdInt16

typedef short OdInt16

Definition at line 756 of file OdPlatformSettings.h.

◆ OdInt32

typedef int OdInt32

Definition at line 782 of file OdPlatformSettings.h.

◆ OdInt8

typedef signed char OdInt8

Definition at line 755 of file OdPlatformSettings.h.

◆ OdIntPtr

typedef ptrdiff_t OdIntPtr

Definition at line 884 of file OdPlatformSettings.h.

◆ OdUChar

typedef wchar_t OdUChar

Definition at line 746 of file OdPlatformSettings.h.

◆ OdUInt16

typedef unsigned short OdUInt16

Definition at line 760 of file OdPlatformSettings.h.

◆ OdUInt32

typedef unsigned int OdUInt32

Definition at line 783 of file OdPlatformSettings.h.

◆ OdUInt8

typedef unsigned char OdUInt8

Definition at line 759 of file OdPlatformSettings.h.

◆ VoidPtr

typedef void* VoidPtr

Definition at line 883 of file OdPlatformSettings.h.