HDK
|
Go to the source code of this file.
#define OPENVDB_API OPENVDB_IMPORT |
All classes and public free standing functions must be explicitly marked as <lib>_API to be exported. The <lib>_PRIVATE macros are defined when building that particular library.
Definition at line 274 of file Platform.h.
#define OPENVDB_AX_API |
Definition at line 295 of file Platform.h.
#define OPENVDB_CHECK_GCC | ( | MAJOR, | |
MINOR | |||
) | 0 |
Macro for determining if GCC version is >= than X.Y.
Definition at line 35 of file Platform.h.
#define OPENVDB_DEPRECATED [[deprecated]] |
Deprecation macros. Define OPENVDB_NO_DEPRECATION_WARNINGS to disable all deprecation warnings in OpenVDB.
Definition at line 147 of file Platform.h.
#define OPENVDB_DEPRECATED_MESSAGE | ( | msg | ) | [[deprecated(msg)]] |
Definition at line 148 of file Platform.h.
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_ADDRESS |
Definition at line 340 of file Platform.h.
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_REFERENCE |
Definition at line 336 of file Platform.h.
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_WRITE |
Definition at line 338 of file Platform.h.
#define OPENVDB_FINISH_THREADSAFE_STATIC_ADDRESS |
Definition at line 333 of file Platform.h.
#define OPENVDB_FINISH_THREADSAFE_STATIC_REFERENCE |
Definition at line 329 of file Platform.h.
#define OPENVDB_FINISH_THREADSAFE_STATIC_WRITE |
Definition at line 331 of file Platform.h.
#define OPENVDB_FORCE_INLINE inline |
Force inline function macros. These macros do not necessary guarantee that the decorated function will be inlined, but provide the strongest vendor annotations to that end.
Definition at line 103 of file Platform.h.
#define OPENVDB_HAS_CXX11 1 |
OpenVDB now requires C++17.
Definition at line 39 of file Platform.h.
#define OPENVDB_HOUDINI_API OPENVDB_IMPORT |
Definition at line 282 of file Platform.h.
Macros to alias to compiler builtins which hint at critical edge selection during conditional statements.
Definition at line 91 of file Platform.h.
#define OPENVDB_NO_DEPRECATION_WARNING_BEGIN |
Bracket code with OPENVDB_NO_DEPRECATION_WARNING_BEGIN/_END, to inhibit warnings about deprecated code.
Example:
Definition at line 194 of file Platform.h.
#define OPENVDB_NO_DEPRECATION_WARNING_END |
Definition at line 195 of file Platform.h.
#define OPENVDB_NO_TYPE_CONVERSION_WARNING_BEGIN |
Bracket code with OPENVDB_NO_TYPE_CONVERSION_WARNING_BEGIN/_END, to inhibit warnings about type conversion.
Example:
Definition at line 227 of file Platform.h.
#define OPENVDB_NO_TYPE_CONVERSION_WARNING_END |
Definition at line 228 of file Platform.h.
#define OPENVDB_NO_UNREACHABLE_CODE_WARNING_BEGIN |
Bracket code with OPENVDB_NO_UNREACHABLE_CODE_WARNING_BEGIN/_END, as in the following example, to inhibit ICC remarks about unreachable code:
In the above, NodeType::LEVEL == 0
is a compile-time constant expression, so for some template instantiations, the line below it is unreachable.
Definition at line 140 of file Platform.h.
#define OPENVDB_NO_UNREACHABLE_CODE_WARNING_END |
Definition at line 141 of file Platform.h.
Form a new token by concatenating two existing tokens. If either token is a macro, concatenate its value.
Definition at line 27 of file Platform.h.
#define OPENVDB_PREPROC_STRINGIFY | ( | x | ) |
Return x as a string literal. If x is a macro, return its value as a string literal.
Definition at line 19 of file Platform.h.
#define OPENVDB_START_NON_THREADSAFE_STATIC_ADDRESS |
Definition at line 339 of file Platform.h.
#define OPENVDB_START_NON_THREADSAFE_STATIC_REFERENCE |
Definition at line 335 of file Platform.h.
#define OPENVDB_START_NON_THREADSAFE_STATIC_WRITE |
Definition at line 337 of file Platform.h.
#define OPENVDB_START_THREADSAFE_STATIC_ADDRESS |
Definition at line 332 of file Platform.h.
#define OPENVDB_START_THREADSAFE_STATIC_REFERENCE |
Definition at line 328 of file Platform.h.
#define OPENVDB_START_THREADSAFE_STATIC_WRITE |
Definition at line 330 of file Platform.h.
#define OPENVDB_TEMPLATE_EXPORT |
Definition at line 262 of file Platform.h.
#define OPENVDB_TEMPLATE_IMPORT |
Helper macros for defining library symbol visibility.
Helper macros for explicit template instantiation
Definition at line 261 of file Platform.h.
#define OPENVDB_THREADSAFE_STATIC_ADDRESS | ( | CODE | ) | CODE |
Definition at line 344 of file Platform.h.
#define OPENVDB_THREADSAFE_STATIC_REFERENCE | ( | CODE | ) | CODE |
Definition at line 342 of file Platform.h.
#define OPENVDB_THREADSAFE_STATIC_WRITE | ( | CODE | ) | CODE |
Definition at line 343 of file Platform.h.
#define OPENVDB_UBSAN_SUPPRESS | ( | X | ) |
SIMD Intrinsic Headers.
Windows defines Macros to suppress undefined behaviour sanitizer warnings. Should be used sparingly, primarily to suppress issues in upstream dependencies.
Definition at line 77 of file Platform.h.
Definition at line 92 of file Platform.h.
Definition at line 9 of file Platform.h.