SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Go to the documentation of this file.
10 #ifndef smtk_common_Version_h
11 #define smtk_common_Version_h
13 #include "smtk/CoreExports.h"
23 #define SMTK_VERSION "1.1.0"
25 #define SMTK_VERSION_MAJOR 1
27 #define SMTK_VERSION_MINOR_INT @SMTK_VERSION_MINOR_INT@
29 #define SMTK_VERSION_PATCH 0
33 #define SMTK_VERSION_MINOR 1
67 {
return combined(major(), minor(), patch()); }
71 {
return pat + 1000 * (min + 100 * maj); }
77 #endif // smtk_common_Version_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
static std::string number()
Return the full version number as a string.
Definition: Version.h:63
static int patch()
Return the version number components as integers.
Definition: Version.h:60
Run-time access to the version number in different formats.
Definition: Version.h:50
static int minor()
Return the version number components as integers.
Definition: Version.h:57
static int combined()
Return the full version number encoded into a single integer.
Definition: Version.h:66
#define SMTK_VERSION_PATCH
Integer-valued patch version number.
Definition: Version.h:30
static int combined(int maj, int min, int pat)
Return an encoded version integer given integer components.
Definition: Version.h:70
#define SMTK_VERSION_MAJOR
Integer-valued major version number.
Definition: Version.h:26
static int major()
Return the version number components as integers.
Definition: Version.h:54
#define SMTK_VERSION_MINOR_INT
Integer-valued minor version number.
Definition: Version.h:28
#define SMTK_VERSION
Version number as a string.
Definition: Version.h:24