1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
/* Declaration of macros and functions providing version -*- C++ -*-
and licensing information.
Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it>
Copyright (C) 2010-2011 BUGSENG srl (http://bugseng.com)
This file is part of the Parma Polyhedra Library (PPL).
The PPL is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The PPL is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
For the most up-to-date information see the Parma Polyhedra Library
site: http://www.cs.unipr.it/ppl/ . */
#ifndef PPL_version_hh
#define PPL_version_hh 1
//! The major number of the PPL version.
/*! \ingroup PPL_CXX_interface */
#define PPL_VERSION_MAJOR @PPL_VERSION_MAJOR@
//! The minor number of the PPL version.
/*! \ingroup PPL_CXX_interface */
#define PPL_VERSION_MINOR @PPL_VERSION_MINOR@
//! The revision number of the PPL version.
/*! \ingroup PPL_CXX_interface */
#define PPL_VERSION_REVISION @PPL_VERSION_REVISION@
/*! \brief
The beta number of the PPL version. This is zero for official
releases and nonzero for development snapshots.
\ingroup PPL_CXX_interface
*/
#define PPL_VERSION_BETA @PPL_VERSION_BETA@
//! A string containing the PPL version.
/*! \ingroup PPL_CXX_interface
Let <CODE>M</CODE> and <CODE>m</CODE> denote the numbers associated
to PPL_VERSION_MAJOR and PPL_VERSION_MINOR, respectively. The
format of PPL_VERSION is <CODE>M "." m</CODE> if both
PPL_VERSION_REVISION (<CODE>r</CODE>) and PPL_VERSION_BETA
(<CODE>b</CODE>)are zero, <CODE>M "." m "pre" b</CODE> if
PPL_VERSION_REVISION is zero and PPL_VERSION_BETA is not zero,
<CODE>M "." m "." r</CODE> if PPL_VERSION_REVISION is not zero and
PPL_VERSION_BETA is zero, <CODE>M "." m "." r "pre" b</CODE> if
neither PPL_VERSION_REVISION nor PPL_VERSION_BETA are zero.
*/
#define PPL_VERSION "@VERSION@"
namespace Parma_Polyhedra_Library {
//! Returns the major number of the PPL version.
unsigned
version_major();
//! Returns the minor number of the PPL version.
unsigned
version_minor();
//! Returns the revision number of the PPL version.
unsigned
version_revision();
//! Returns the beta number of the PPL version.
unsigned
version_beta();
//! Returns a character string containing the PPL version.
const char* version();
//! Returns a character string containing the PPL banner.
/*!
The banner provides information about the PPL version, the licensing,
the lack of any warranty whatsoever, the C++ compiler used to build
the library, where to report bugs and where to look for further
information.
*/
const char* banner();
} // namespace Parma_Polyhedra_Library
#endif // !defined(PPL_version_hh)
|