#include <itkConfigure.h>
|
| #define | ITK_VERSION_CHECK(major, minor, patch) |
| | Assemble a single number from a major,minor,patch tuple against which the ITK version number can be checked To conditionally add code depending on a specific ITK version, use code following this pattern:
|
| |
| #define | ITK_VERSION_NUMBER ITK_VERSION_CHECK(ITK_VERSION_MAJOR, ITK_VERSION_MINOR, ITK_VERSION_PATCH) |
| | Assemble a single number from the version of the ITK library currently in use.
|
| |
◆ ITK_VERSION_CHECK
| #define ITK_VERSION_CHECK |
( |
| major, |
|
|
| minor, |
|
|
| patch ) |
Value: (10000000000ULL * major + 100000000ULL * minor + patch)
Assemble a single number from a major,minor,patch tuple against which the ITK version number can be checked To conditionally add code depending on a specific ITK version, use code following this pattern:
#if ITK_VERSION_NUMBER < ITK_VERSION_CHECK(5,3,0)
// code that applies for ITK < 5.3.0
#else
// code that applies for ITK >= 5.3.0
#endif
◆ ITK_VERSION_NUMBER
| #define ITK_VERSION_NUMBER ITK_VERSION_CHECK(ITK_VERSION_MAJOR, ITK_VERSION_MINOR, ITK_VERSION_PATCH) |
Assemble a single number from the version of the ITK library currently in use.