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

Go to the source code of this file.

Namespaces

namespace  theplu
 The Department of Theoretical Physics namespace as we define it.
 
namespace  theplu::yat
 yat project namespace.
 
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))

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 Sat May 24 2014 03:33:05 for yat by  doxygen 1.8.2