yat/utility/version.h File Reference

#include <string>

Go to the source code of this file.

Namespaces

namespace  theplu
namespace  theplu::yat
namespace  theplu::yat::utility

Defines

#define YAT_MAJOR_VERSION   0
#define YAT_MINOR_VERSION   6
#define YAT_PATCH_VERSION   3
#define YAT_VERSION   "0.6.3"
#define YAT_DEV_BUILD   false
#define YAT_VERSION_AT_LEAST(major, minor, patch)

Functions

unsigned int theplu::yat::utility::major_version (void)
unsigned int theplu::yat::utility::minor_version (void)
unsigned int theplu::yat::utility::patch_version (void)
std::string theplu::yat::utility::version (void)


Detailed Description


Define Documentation

#define YAT_DEV_BUILD   false

DEV_BUILD

Is set to false in releases

Since:
New in yat 0.5

#define YAT_MAJOR_VERSION   0

MAJOR version

No compatibility is guarenteed between MAJOR versions.

Since:
New in yat 0.5

#define YAT_MINOR_VERSION   6

MINOR version

Minor API changes that do not cause binary compatibility problems. Reset to 0 when upgrading YAT_MAJOR_VERSION

Since:
New in yat 0.5

#define YAT_PATCH_VERSION   3

PATCH version

The Patch level never includes API changes, simply bug fixes. Reset to 0 when upgrading YAT_MINOR_VERSION

Since:
New in yat 0.5

#define YAT_VERSION   "0.6.3"

VERSION

The version of yat in string format

Since:
New in yat 0.5

#define YAT_VERSION_AT_LEAST ( major,
minor,
patch   ) 

Value:

(((major) < YAT_MAJOR_VERSION) ||                                    \
 ((major) == YAT_MAJOR_VERSION && (minor) < YAT_MINOR_VERSION) || \
 ((major) == YAT_MAJOR_VERSION && (minor) == YAT_MINOR_VERSION &&\
  (patch) <= YAT_PATCH_VERSION))
Check at compile time if the version of yat is at least a certain level.
Parameters:
major The major version component of the version checked for (e.g., the "0" of "0.5.1").
minor The minor version component of the version checked for (e.g., the "5" of "0.5.1").
patch The patch level component of the version checked for (e.g., the "1" of "0.5.1").
Since:
New in yat 0.5


Generated on Tue Jan 18 02:21:18 2011 for yat by  doxygen 1.5.5