 |
XMP Toolkit SDK
6.0.0
|
Go to the documentation of this file. 1 #ifndef __XMPCommonDefines_h__
2 #define __XMPCommonDefines_h__ 1
32 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 1
33 #ifdef _LIBCPP_VERSION
34 #define SUPPORT_SHARED_POINTERS_IN_TR1 0
35 #define SUPPORT_SHARED_POINTERS_IN_STD 1
37 #define SUPPORT_SHARED_POINTERS_IN_TR1 1
38 #define SUPPORT_SHARED_POINTERS_IN_STD 0
40 #define SUPPORT_SHARED_POINTERS_WITH_ALLOCATORS 0
41 #define BAD_EXCEPTION_SUPPORT_STRINGS 0
42 #define VECTOR_SUPPORT_CONST_ITERATOR_FUNCTIONS 0
43 #define SUPPORT_VARIADIC_TEMPLATES 0
50 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 0
51 #ifdef _LIBCPP_VERSION
52 #define SUPPORT_SHARED_POINTERS_IN_TR1 0
53 #define SUPPORT_SHARED_POINTERS_IN_STD 1
54 #define libcppNULL nullptr
56 #define SUPPORT_SHARED_POINTERS_IN_TR1 1
57 #define SUPPORT_SHARED_POINTERS_IN_STD 0
58 #define libcppNULL NULL
60 #define SUPPORT_SHARED_POINTERS_WITH_ALLOCATORS 0
61 #define BAD_EXCEPTION_SUPPORT_STRINGS 0
62 #define VECTOR_SUPPORT_CONST_ITERATOR_FUNCTIONS 0
63 #define SUPPORT_VARIADIC_TEMPLATES 0
72 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 1
73 #ifdef _LIBCPP_VERSION
74 #define SUPPORT_SHARED_POINTERS_IN_TR1 0
75 #define SUPPORT_SHARED_POINTERS_IN_STD 1
77 #define SUPPORT_SHARED_POINTERS_IN_TR1 1
78 #define SUPPORT_SHARED_POINTERS_IN_STD 0
80 #define SUPPORT_SHARED_POINTERS_WITH_ALLOCATORS 0
81 #define BAD_EXCEPTION_SUPPORT_STRINGS 0
82 #define VECTOR_SUPPORT_CONST_ITERATOR_FUNCTIONS 0
83 #define SUPPORT_VARIADIC_TEMPLATES 0
91 #define SUPPORT_SHARED_POINTERS_WITH_ALLOCATORS 1
93 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 0
94 #define SUPPORT_SHARED_POINTERS_IN_TR1 1
95 #define SUPPORT_SHARED_POINTERS_IN_STD 0
97 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 1
98 #define SUPPORT_SHARED_POINTERS_IN_TR1 0
99 #define SUPPORT_SHARED_POINTERS_IN_STD 1
101 #define BAD_EXCEPTION_SUPPORT_STRINGS 1
102 #define VECTOR_SUPPORT_CONST_ITERATOR_FUNCTIONS 1
111 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 1
113 #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
114 #if GCC_VERSION >= 40800
115 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 1
117 #define REQ_FRIEND_CLASS_DECLARATION() template<typename _Ptr, std::_Lock_policy _Lp> friend class std::_Sp_counted_ptr;
118 #define SUPPORT_STD_ATOMIC_IMPLEMENTATION 0
123 #define SUPPORT_SHARED_POINTERS_IN_TR1 0
124 #define SUPPORT_SHARED_POINTERS_IN_STD 1
125 #define SUPPORT_SHARED_POINTERS_WITH_ALLOCATORS 0
126 #define BAD_EXCEPTION_SUPPORT_STRINGS 0
127 #define VECTOR_SUPPORT_CONST_ITERATOR_FUNCTIONS 1
128 #define SUPPORT_DYNAMIC_CAST_OPTIMIZATION 0
129 #define SUPPORT_VARIADIC_TEMPLATES 0
132 #ifndef SUPPORT_VARIADIC_TEMPLATES
133 #define SUPPORT_VARIADIC_TEMPLATES 1
136 #ifndef REQ_FRIEND_CLASS_DECLARATION
137 #define REQ_FRIEND_CLASS_DECLARATION()
140 #define JOIN_CLASSNAME_WITH_VERSION_NUMBER_INT(x,y) x ## _v ## y
141 #define JOIN_CLASSNAME_WITH_VERSION_NUMBER(x,y) JOIN_CLASSNAME_WITH_VERSION_NUMBER_INT(x,y)
142 #define BASE_CLASS(classNameWithoutVersionNumber, versionNumber) JOIN_CLASSNAME_WITH_VERSION_NUMBER(classNameWithoutVersionNumber, versionNumber)
143 #define EXPAND_MACRO(X) X
144 #define QUOTEME2(X) #X
145 #define QUOTEME(X) QUOTEME2(X)
147 #define __NOTHROW__ throw()
149 #if SOURCE_COMPILING_XMP_ALL || SOURCE_COMPILING_XMPCORE_LIB || SOURCE_COMPILING_XMPCOMPAREANDMERGE_LIB || SOURCE_COMPILING_XMPEXTENSIONS_LIB
150 #define SOURCE_COMPILING_XMPCOMMON_LIB 1
152 #define SOURCE_COMPILING_XMPCOMMON_LIB 0
155 #ifndef BUILDING_XMPCOMMON_LIB
156 #define BUILDING_XMPCOMMON_LIB 0
159 #if BUILDING_XMPCOMMON_LIB
160 #if !BUILDING_XMPCOMMON_AS_STATIC && !BUILDING_XMPCOMMON_AS_DYNAMIC
161 #error "Define either BUILDING_XMPCOMMON_AS_STATIC as 1 or BUILDING_XMPCOMMON_AS_DYNAMIC as 1"
165 #ifndef __XMP_Const_h__
196 #endif // __XMPCommonDefines_h__
Common C/C++ types and constants for the XMP toolkit.
static const uint64 kIConfigurationManagerID(0x6e436f6e664d6772)
static const uint32 kMaxEnumValue(Max_XMP_Uns32)
const sizet npos(kMaxSize)
static const uint64 kIUTF8StringID(0x6e55544638537472)
static const uint64 kIErrorID(0x6e4572726f722020)
static const uint64 kIObjectFactoryID(0x6e4f626a46616374)
static const uint64 kIErrorNotifierID(0x6e4572724e6f7466)
static const XMP_Uns32 Max_XMP_Uns32
static const uint32 kAllBits(0xFFFFFFFF)
const sizet kMaxSize((sizet) -1)