HepMC3 event record library: Version.h File Reference

HepMC3 event record library

Namespaces | Macros | Functions
Version.h File Reference

## Detailed Description

Declaration of the Verrion functions and some macros.

Definition in file Version.h.

`#include <string>`
Include dependency graph for Version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
namespace | HepMC3
| HepMC3 main namespace.

## Macros
#define | HEPMC3_VERSION "3.03.01"
| HepMC version string.
#define | HEPMC3_VERSION_CODE 3003001
| HepMC version as an integer, HepMC X.Y.Z = 1000000*X + 1000*Y + Z.

## Functions
std::string | version ()
| Get the HepMC library version string.

## Macro Definition Documentation

## ◆ HEPMC3_VERSION

#define HEPMC3_VERSION "3.03.01"

HepMC version string.

Definition at line 17 of file Version.h.

## ◆ HEPMC3_VERSION_CODE

#define HEPMC3_VERSION_CODE 3003001

HepMC version as an integer, HepMC X.Y.Z = 1000000*X + 1000*Y + Z.

Use like "#if HEPMC3_VERSION_CODE < 3001004" for < 3.01.04

Definition at line 22 of file Version.h.