yat  0.14.5pre
Namespaces | Macros | Functions
version.h File Reference
#include "config_public.h"
#include <string>

Go to the source code of this file.

Namespaces

 theplu
 The Department of Theoretical Physics namespace as we define it.
 
 theplu::yat
 yat project namespace.
 
 theplu::yat::utility
 Miscellaneous functionality.
 

Macros

#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)
 

Macro Definition Documentation

#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))
#define YAT_PATCH_VERSION
Third digit in VERSION triplet or zero if VERSION is MAJOR.MINOR.
Definition: config_public.h:72
#define YAT_MINOR_VERSION
Second digit in VERSION triplet.
Definition: config_public.h:70
#define YAT_MAJOR_VERSION
First digit in VERSION triplet.
Definition: config_public.h:68

Check at compile time if the version of yat is at least a certain level.

Parameters
majorThe major version component of the version checked for (e.g., the "0" of "0.5.1").
minorThe minor version component of the version checked for (e.g., the "5" of "0.5.1").
patchThe 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 Sep 26 2017 02:33:29 for yat by  doxygen 1.8.5