STXXL  1.4.1
 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 
19 
21 {
22  return STXXL_VERSION_MAJOR;
23 }
24 
26 {
27  return STXXL_VERSION_MINOR;
28 }
29 
31 {
32  return STXXL_VERSION_PATCH;
33 }
34 
36 {
37  return STXXL_VERSION_INTEGER;
38 }
39 
41 {
42  return get_version_string();
43 }
44 
46 {
47  return get_version_string_long();
48 }
49 
51 
52 // 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:40
int version_major()
return X if the STXXL library version is X.Y.Z
Definition: version.cpp:20
#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:25
int version_patch()
return Z if the STXXL library version is X.Y.Z
Definition: version.cpp:30
int version_integer()
return integer version number of the STXXL library
Definition: version.cpp:35
#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:45
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