Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
version.hpp File Reference
#include <string>
#include <tlx/die.hpp>
#include <foxxll/config.hpp>
+ Include dependency graph for version.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 foxxll
 FOXXLL library namespace
 

Macros

#define FOXXLL_VERSION_INTEGER   (FOXXLL_VERSION_MAJOR * 10000 + FOXXLL_VERSION_MINOR * 100 + FOXXLL_VERSION_PATCH)
 
#define stringify(x)   stringify_(x)
 
#define stringify_(x)   #x
 

Functions

int check_library_version ()
 Check for a mismatch between library and headers. More...
 
std::string get_library_version_string ()
 returns "X.Y.Z" version string of library More...
 
std::string get_library_version_string_long ()
 returns longer "X.Y.Z (feature) (version)" string of library More...
 
std::string get_version_string ()
 Return "X.Y.Z" version string (of headers) More...
 
std::string get_version_string_long ()
 Return longer "X.Y.Z (feature) (version)" version string (of headers) More...
 
void print_library_version_mismatch ()
 Check and print mismatch between header and library versions. More...
 
int version_integer ()
 return integer version number of the FOXXLL library More...
 
int version_major ()
 return X if the FOXXLL library version is X.Y.Z More...
 
int version_minor ()
 return Y if the FOXXLL library version is X.Y.Z More...
 
int version_patch ()
 return Z if the FOXXLL library version is X.Y.Z More...
 

Macro Definition Documentation

#define FOXXLL_VERSION_INTEGER   (FOXXLL_VERSION_MAJOR * 10000 + FOXXLL_VERSION_MINOR * 100 + FOXXLL_VERSION_PATCH)

Definition at line 28 of file version.hpp.

Referenced by foxxll::version_integer().

#define stringify (   x)    stringify_(x)

Definition at line 31 of file version.hpp.

#define stringify_ (   x)    #x

Definition at line 30 of file version.hpp.