moab
|
Defines | |
#define | IBASE_VERSION_MAJOR 1 |
Compile time version number digits. | |
#define | IBASE_VERSION_GE(Maj, Min, Pat) |
Version Comparison. | |
#define | IBASE_VERSION_STRING___(I, X, Y, Z) #I "_Version_" #X "." #Y "." #Z |
Compose compile-time string represention of the version number. | |
#define | IBASE_VERSION_TAG__(I, X, Y, Z) I##_Version_##X##_##Y##_##Z |
Compose compile-time symbol name derived from the version number. | |
#define | ITAPS_VERSION_MAJOR IBASE_VERSION_MAJOR |
ITAPS-wide (across all ITAPS APIs) version handling. | |
#define | IMESH_VERSION_MAJOR ITAPS_VERSION_MAJOR |
Compile time version number digits. | |
#define | IMESH_MAJOR_VERSION IMESH_VERSION_MAJOR |
Maintain backward compatibility with old version symbol names. | |
#define | IMESH_VERSION_GE(Maj, Min, Pat) ITAPS_VERSION_GE(Maj,Min,Pat) |
Version Comparison. | |
#define | IMESH_VERSION_STRING ITAPS_VERSION_STRING_(iMesh) |
Compose string represention of the iMesh version number. | |
#define | IMESH_VERSION_TAG ITAPS_VERSION_TAG_(iMesh) |
Compose a symbol name derived from the current iMesh version number. | |
#define | IMESH_NEW_MESH_NAME__(A, B, C) A##_##B##_##C |
Define iMesh_newMesh symbol such that it depends on version number. |
#define IBASE_VERSION_GE | ( | Maj, | |
Min, | |||
Pat | |||
) |
(((IBASE_VERSION_MAJOR==(Maj)) && (IBASE_VERSION_MINOR==(Min)) && (IBASE_VERSION_PATCH>=(Pat))) || \ ((IBASE_VERSION_MAJOR==(Maj)) && (IBASE_VERSION_MINOR>(Min))) || \ (IBASE_VERSION_MAJOR>(Maj)))
Version Comparison.
Evaluates to true at CPP time if the version of iBase currently being compiled is greater than or equal to the version specified.
#define IBASE_VERSION_MAJOR 1 |
Compile time version number digits.
iBase maintains a major, minor and patch digit in its version number. Technically speaking, there is not much practical value in patch digit for an interface specification. A patch release is typically only used for bug fix releases. Although it is rare, sometimes a bug fix necessitates an API change. So, we define a patch digit for iBase.
Although each interface in ITAPS has been designed to support its own unique version numbers, apart from other ITAPS interfaces, as currently used, we require all ITAPS interfaces to use the same ITAPS-wide version number derived from the version number defined by these three digits.
#define IBASE_VERSION_STRING___ | ( | I, | |
X, | |||
Y, | |||
Z | |||
) | #I "_Version_" #X "." #Y "." #Z |
#define IBASE_VERSION_TAG__ | ( | I, | |
X, | |||
Y, | |||
Z | |||
) | I##_Version_##X##_##Y##_##Z |
#define IMESH_NEW_MESH_NAME__ | ( | A, | |
B, | |||
C | |||
) | A##_##B##_##C |
#define IMESH_VERSION_GE | ( | Maj, | |
Min, | |||
Pat | |||
) | ITAPS_VERSION_GE(Maj,Min,Pat) |
Compile time version number digits.
iMesh maintains a major, minor and patch digit in its version number. Technically speaking, there is not much practical value in patch digit for an interface specification. A patch release is typically only used for bug fix releases. Although it is rare, sometimes a bug fix necessitates an API change. So, we define a patch digit for iMesh.
#define IMESH_VERSION_STRING ITAPS_VERSION_STRING_(iMesh) |
#define IMESH_VERSION_TAG ITAPS_VERSION_TAG_(iMesh) |