lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF  6.5.4
Version.h
1 /* include/LHAPDF/Version.h. Generated from Version.h.in by configure. */
2 // -*- C++ -*-
3 //
4 // This file is part of LHAPDF
5 // Copyright (C) 2012-2016 The LHAPDF collaboration (see AUTHORS for details)
6 //
7 #pragma once
8 #ifndef LHAPDF_Version_H
9 #define LHAPDF_Version_H
10 
11 #include <string>
12 
13 /* "LHAPDF version string" */
14 #define LHAPDF_VERSION "6.5.4"
15 
16 /* "LHAPDF version as an int" */
17 #define LHAPDF_VERSION_CODE 60504
18 
19 /* "Whether PDFLIB Fortran compatibility is available" */
20 #define LHAPDF_PDFLIB 1
21 
22 /* "Whether LHAPDF5 C++ compatibility is available" */
23 #define LHAPDF_LHA5CXX 1
24 
25 // Separate int-valued macro for conditional compilation. Doesn't exist in LHAPDF5.
26 // Use like "#if defined LHAPDF_MAJOR_VERSION && LHAPDF_MAJOR_VERSION == 6 ..."
27 #define LHAPDF_MAJOR_VERSION 6
28 
29 namespace LHAPDF {
30 
31 
33  inline std::string version() {
34  return LHAPDF_VERSION;
35  }
36 
37 
38 }
39 #endif
std::string version()
Get the LHAPDF library version code (as a string)
Definition: Version.h:33