yat  0.14.5pre
version.h
Go to the documentation of this file.
1 #ifndef _theplu_yat_utility_version_
2 #define _theplu_yat_utility_version_
3 
4 // $Id: version.h 2992 2013-03-03 05:03:44Z peter $
5 
6 /*
7  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
8  Copyright (C) 2009, 2011 Peter Johansson
9 
10  This file is part of the yat library, http://dev.thep.lu.se/yat
11 
12  The yat library is free software; you can redistribute it and/or
13  modify it under the terms of the GNU General Public License as
14  published by the Free Software Foundation; either version 3 of the
15  License, or (at your option) any later version.
16 
17  The yat library is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with yat. If not, see <http://www.gnu.org/licenses/>.
24 */
25 
29 
30 /*
31  Compile-time version constants
32 
33  \see http://apr.apache.org/versioning.html
34 */
35 
36 #include "config_public.h"
37 
50 #define YAT_VERSION_AT_LEAST(major,minor,patch) \
51 (((major) < YAT_MAJOR_VERSION) || \
52  ((major) == YAT_MAJOR_VERSION && (minor) < YAT_MINOR_VERSION) || \
53  ((major) == YAT_MAJOR_VERSION && (minor) == YAT_MINOR_VERSION &&\
54  (patch) <= YAT_PATCH_VERSION))
55 
56 #include <string>
57 
58 namespace theplu {
59 namespace yat {
60 namespace utility {
61 
67  unsigned int major_version(void);
68 
74  unsigned int minor_version(void);
75 
81  unsigned int patch_version(void);
82 
88  std::string version(void);
89 
90 }}} // of namespace utility, yat, and theplu
91 
92 #endif
unsigned int minor_version(void)
unsigned int patch_version(void)
unsigned int major_version(void)
std::string version(void)

Generated on Tue Sep 26 2017 02:33:29 for yat by  doxygen 1.8.5