Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
info.hpp
Go to the documentation of this file.
1 /* -*- mode: c++; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; show-trailing-whitespace: t -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 
3  This file is part of the Feel library
4 
5  Author(s): Christophe Prud'homme <christophe.prudhomme@feelpp.org>
6  Date: 2005-02-19
7 
8  Copyright (C) 2005,2006 EPFL
9  Copyright (C) 2008,2009,2010 Université de Grenoble 1
10 
11 
12  This library is free software; you can redistribute it and/or
13  modify it under the terms of the GNU Lesser General Public
14  License as published by the Free Software Foundation; either
15  version 3.0 of the License, or (at your option) any later version.
16 
17  This 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  Lesser General Public License for more details.
21 
22  You should have received a copy of the GNU Lesser General Public
23  License along with this library; if not, write to the Free Software
24  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 */
35 #ifndef _FEELPP_VERSION_H_
36 #define _FEELPP_VERSION_H_
37 
38 #define FEELPP_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
39 #define FEELPP_IS_VERSION(a,b,c) ( FEELPP_VERSION >= FEELPP_MAKE_VERSION(a,b,c) )
40 
44 namespace Feel
45 {
52 class Info
53 {
54 public:
62  static char const* buildId();
63 
67  static char const* revision();
68 
77  static unsigned long long version();
78 
85  static unsigned int versionMajor();
86 
93  static unsigned int versionMinor();
94 
101  static unsigned int versionMicro();
102 
108  static char const* versionString();
109 
118  static char const* prefix();
119 
126  static char const* datadir();
127 
128 private:
129  Info();
130  Info( Info const& );
131  Info& operator=( Info const& );
132 }; // Info
133 
134 }
135 
136 #endif // _FEELPP_VERSION_H_
static char const * revision()
Definition: info.cpp:49
static char const * buildId()
Definition: info.cpp:43
information provider for versioning and installation directories
Definition: info.hpp:52
static unsigned int versionMicro()
Definition: info.cpp:73
static unsigned long long version()
Definition: info.cpp:55
static unsigned int versionMinor()
Definition: info.cpp:67
static char const * versionString()
Definition: info.cpp:79
static char const * prefix()
prefix directory
Definition: info.cpp:85
static unsigned int versionMajor()
Definition: info.cpp:61
static char const * datadir()
datadir directory
Definition: info.cpp:91

Generated on Sun Dec 22 2013 13:11:05 for Feel++ by doxygen 1.8.5