cgma
Version Numbers

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 Documentation

#define IBASE_VERSION_GE (   Maj,
  Min,
  Pat 
)
Value:
(((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.

Definition at line 30 of file iGeom.h.

#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 iMesh.

Although each interface in ITAPS has been designed to support its own uniqe 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.

Definition at line 19 of file iGeom.h.

#define IBASE_VERSION_STRING___ (   I,
  X,
  Y,
  Z 
)    #I "_Version_" #X "." #Y "." #Z

Compose compile-time string represention of the version number.

Definition at line 39 of file iGeom.h.

#define IBASE_VERSION_TAG__ (   I,
  X,
  Y,
  Z 
)    I##_Version_##X##_##Y##_##Z

Compose compile-time symbol name derived from the version number.

Definition at line 48 of file iGeom.h.

ITAPS-wide (across all ITAPS APIs) version handling.

Definition at line 56 of file iGeom.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines