HepMC event record
include
HepMC
include/HepMC/Version.h
1
// -*- C++ -*-
2
//
3
// This file is part of HepMC
4
// Copyright (C) 2014-2015 The HepMC collaboration (see AUTHORS for details)
5
//
6
#ifndef HEPMC_VERSION_H
7
#define HEPMC_VERSION_H
8
9
#include <string>
10
11
/// HepMC version string
12
/// @todo Insert value from build system
13
#define HEPMC_VERSION "3.0.0"
14
15
/// @brief HepMC version as an integer, HepMC X.Y.Z = 1000000*X + 1000*Y + Z
16
///
17
/// Use like "#if HEPMC_VERSION_CODE < 3001004" for < 3.01.04
18
/// @todo Insert value from build system
19
#define HEPMC_VERSION_CODE 3000000
20
21
22
/// @todo Add feature detection macros? (clearly version-related)
23
24
25
namespace
HepMC
{
26
27
28
/// Get the HepMC library version string
29
inline
std::string
version
() {
30
return
HEPMC_VERSION;
31
}
32
33
34
}
35
36
#endif
HepMC::version
std::string version()
Get the HepMC library version string.
Definition:
build/outputs/include/HepMC/Version.h:29
HepMC
Definition of template class SmartPointer.
Definition:
build/outputs/include/HepMC/Attribute.h:30
Generated on Wed Aug 9 2017 12:00:00 for HepMC event record by
1.8.14