Awali
Another Weighted Automata library
version.hh
Go to the documentation of this file.
1 // This file is part of Awali.
2 // Copyright 2016-2021 Sylvain Lombardy, Victor Marsault, Jacques Sakarovitch
3 //
4 // Awali is a free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
16 
17 
18 #ifndef COMMON_VERSION_HH
19 #define COMMON_VERSION_HH
20 
21 #include<string>
22 
23 namespace awali {
24 namespace version {
25 
27  static constexpr unsigned major = 2;
28 
30  static constexpr unsigned minor = 1;
31 
33  static constexpr unsigned patch = 0;
34 
36  static const std::string suffix = "";
37 
39  static const std::string full
41  + "." + std::to_string(patch) + (suffix=="" ? "" : ("-"+suffix));
42 
43 
50  static constexpr unsigned fsm_json = 1;
51 
52 }// end of namespace awali::version
53 }// end of namespace awali
54 
55 #endif
std::string to_string(identities i)
static const std::string suffix
Suffix of the version of Awali, used mostly by developers.
Definition: version.hh:36
static constexpr unsigned minor
Current minor version of Awali.
Definition: version.hh:30
static const std::string full
Completely version of Awali as a std::string.
Definition: version.hh:40
static constexpr unsigned patch
Current minor version of Awali.
Definition: version.hh:33
static constexpr unsigned major
Current major version of Awali.
Definition: version.hh:27
static constexpr unsigned fsm_json
Main version of the format FSM json used in the library.
Definition: version.hh:50
Main namespace of Awali.
Definition: ato.hh:22