Thrill  0.1
version.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * foxxll/common/version.cpp
3  *
4  * Part of FOXXLL. See http://foxxll.org
5  *
6  * Copyright (C) 2007, 2008, 2011 Andreas Beckmann <[email protected]>
7  * Copyright (C) 2013 Timo Bingmann <[email protected]>
8  * Copyright (C) 2018 Manuel Penschuck <[email protected]>
9  *
10  * Distributed under the Boost Software License, Version 1.0.
11  * (See accompanying file LICENSE_1_0.txt or copy at
12  * http://www.boost.org/LICENSE_1_0.txt)
13  **************************************************************************/
14 
15 #include <foxxll/config.hpp>
16 #include <foxxll/version.hpp>
17 
18 namespace foxxll {
19 
21 {
22  return FOXXLL_VERSION_MAJOR;
23 }
24 
26 {
27  return FOXXLL_VERSION_MINOR;
28 }
29 
31 {
32  return FOXXLL_VERSION_PATCH;
33 }
34 
36 {
38 }
39 
41 {
42  return get_version_string();
43 }
44 
46 {
47  return get_version_string_long();
48 }
49 
50 } // namespace foxxll
51 
52 /**************************************************************************/
int version_minor()
return Y if the FOXXLL library version is X.Y.Z
Definition: version.cpp:25
int version_patch()
return Z if the FOXXLL library version is X.Y.Z
Definition: version.cpp:30
#define FOXXLL_VERSION_INTEGER
Definition: version.hpp:28
std::string get_version_string()
Return "X.Y.Z" version string (of headers)
Definition: version.hpp:34
FOXXLL library namespace
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition: allocator.hpp:220
int version_integer()
return integer version number of the FOXXLL library
Definition: version.cpp:35
std::string get_library_version_string()
returns "X.Y.Z" version string of library
Definition: version.cpp:40
std::string get_library_version_string_long()
returns longer "X.Y.Z (feature) (version)" string of library
Definition: version.cpp:45
int version_major()
return X if the FOXXLL library version is X.Y.Z
Definition: version.cpp:20
std::string get_version_string_long()
Return longer "X.Y.Z (feature) (version)" version string (of headers)
Definition: version.hpp:40