gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
version.cpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
16 
17 #include "gambit/Utils/version.hpp"
18 
19 namespace Gambit
20 {
21 
24  {
25  std::ostringstream ss;
27  if (!gambit_version_patch.empty()) ss << "-" << gambit_version_patch;
28  return ss.str();
29  }
30 
33  {
34  static str local = get_gambit_version();
35  return local;
36  }
37 
38 }
39 
const int gambit_version_revision
Definition: version.hpp:41
const int gambit_version_minor
Definition: version.hpp:35
str & gambit_version()
Statically construct a string containing the full GAMBIT version information and return a reference t...
Definition: version.cpp:32
std::string str
Shorthand for a standard string.
Definition: Analysis.hpp:35
const int gambit_version_major
Definition: version.hpp:29
const str gambit_version_patch
Definition: version.hpp:47
str get_gambit_version()
Construct a string containing the full GAMBIT version information.
Definition: version.cpp:23
Version numbering.
TODO: see if we can use this one:
Definition: Analysis.hpp:33