STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
version.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * lib/common/version.cpp
3  *
4  * Part of the STXXL. See http://stxxl.sourceforge.net
5  *
6  * Copyright (C) 2007, 2008, 2011 Andreas Beckmann <[email protected]>
7  * Copyright (C) 2013 Timo Bingmann <[email protected]>
8  *
9  * Distributed under the Boost Software License, Version 1.0.
10  * (See accompanying file LICENSE_1_0.txt or copy at
11  * http://www.boost.org/LICENSE_1_0.txt)
12  **************************************************************************/
13 
14 #include <stxxl/bits/config.h>
15 #include <stxxl/bits/namespace.h>
16 #include <stxxl/bits/version.h>
17 
18 
20 
22 {
23  return STXXL_VERSION_MAJOR;
24 }
25 
27 {
28  return STXXL_VERSION_MINOR;
29 }
30 
32 {
33  return STXXL_VERSION_PATCH;
34 }
35 
37 {
38  return STXXL_VERSION_INTEGER;
39 }
40 
42 {
43  return get_version_string();
44 }
45 
47 {
48  return get_version_string_long();
49 }
50 
52 
53 // vim: et:ts=4:sw=4
const char * get_library_version_string()
returns &quot;X.Y.Z&quot; version string of library
Definition: version.cpp:41
int version_major()
return X if the STXXL library version is X.Y.Z
Definition: version.cpp:21
#define STXXL_VERSION_INTEGER
Definition: version.h:26
int version_minor()
return Y if the STXXL library version is X.Y.Z
Definition: version.cpp:26
int version_patch()
return Z if the STXXL library version is X.Y.Z
Definition: version.cpp:31
int version_integer()
return integer version number of the STXXL library
Definition: version.cpp:36
#define STXXL_VERSION_MAJOR
Definition: config.h:21
const char * get_version_string_long()
Return longer &quot;X.Y.Z (feature) (version)&quot; version string (of headers)
Definition: version.h:38
#define STXXL_VERSION_MINOR
Definition: config.h:22
#define STXXL_BEGIN_NAMESPACE
Definition: namespace.h:16
#define STXXL_VERSION_PATCH
Definition: config.h:23
const char * get_library_version_string_long()
returns longer &quot;X.Y.Z (feature) (version)&quot; string of library
Definition: version.cpp:46
const char * get_version_string()
Return &quot;X.Y.Z&quot; version string (of headers)
Definition: version.h:32
#define STXXL_END_NAMESPACE
Definition: namespace.h:17