Namespaces | Defines | Functions

Version.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gmtl
 

Meta programming classes.


Defines

#define GMTL_VERSION_MAJOR   0
 This file contains two useful items.
#define GMTL_VERSION_MINOR   6
#define GMTL_VERSION_PATCH   1
#define GMTL_GLUE(a, b)   a ## b
#define GMTL_XGLUE(a, b)   GMTL_GLUE(a,b)
#define GMTL_STR(s)   # s
#define GMTL_XSTR(s)   GMTL_STR(s)
#define GMTL_DOT(a, b)   a ## . ## b
#define GMTL_XDOT(a, b)   GMTL_DOT(a,b)
#define GMTL_ZEROFILL(a)   0 ## a
#define GMTL_XZEROFILL(a)   GMTL_ZEROFILL(a)
#define GMTL_VERSION_MAJOR_FILLED   GMTL_XZEROFILL(GMTL_XZEROFILL(GMTL_VERSION_MAJOR))
#define GMTL_VERSION_MINOR_FILLED   GMTL_XZEROFILL(GMTL_XZEROFILL(GMTL_VERSION_MINOR))
#define GMTL_VERSION_PATCH_FILLED   GMTL_XZEROFILL(GMTL_XZEROFILL(GMTL_VERSION_PATCH))
#define GMTL_VERSION
 The is the preprocessor-friendly version string.
#define GMTL_VERSION_STRING

Functions

const char * gmtl::getVersion ()

Define Documentation

#define GMTL_DOT (   a,
  b 
)    a ## . ## b

Definition at line 47 of file Version.h.

#define GMTL_GLUE (   a,
  b 
)    a ## b

Definition at line 39 of file Version.h.

#define GMTL_STR (   s  )     # s

Definition at line 43 of file Version.h.

#define GMTL_VERSION
Value:

The is the preprocessor-friendly version string.

It is in the form of <major><minor><patch>. Each part has exactly 3 digits.

Definition at line 93 of file Version.h.

#define GMTL_VERSION_MAJOR   0

This file contains two useful items.

1. The preprocessor friendly GMTL_VERSION "string". It is in the form <major><minor><patch> where each part has exactly 3 digits. 2. The C++ friendly variable, version, that contains the version as a string. It is in the form of <major>.<minor>.<patch> where each part has anywhere from 1 to 3 digits. This is the "human-readable" GMTL version _string_. It is of the form <major><minor><patch>. Each part has exactly 3 digits.

Definition at line 23 of file Version.h.

#define GMTL_VERSION_MAJOR_FILLED   GMTL_XZEROFILL(GMTL_XZEROFILL(GMTL_VERSION_MAJOR))

Definition at line 56 of file Version.h.

#define GMTL_VERSION_MINOR   6

Definition at line 24 of file Version.h.

#define GMTL_VERSION_MINOR_FILLED   GMTL_XZEROFILL(GMTL_XZEROFILL(GMTL_VERSION_MINOR))

Definition at line 66 of file Version.h.

#define GMTL_VERSION_PATCH   1

Definition at line 25 of file Version.h.

#define GMTL_VERSION_PATCH_FILLED   GMTL_XZEROFILL(GMTL_XZEROFILL(GMTL_VERSION_PATCH))

Definition at line 76 of file Version.h.

#define GMTL_VERSION_STRING
#define GMTL_XDOT (   a,
  b 
)    GMTL_DOT(a,b)

Definition at line 48 of file Version.h.

#define GMTL_XGLUE (   a,
  b 
)    GMTL_GLUE(a,b)

Definition at line 40 of file Version.h.

#define GMTL_XSTR (   s  )     GMTL_STR(s)

Definition at line 44 of file Version.h.

#define GMTL_XZEROFILL (   a  )     GMTL_ZEROFILL(a)

Definition at line 52 of file Version.h.

#define GMTL_ZEROFILL (   a  )     0 ## a

Definition at line 51 of file Version.h.