/usr/include/HepMC/Version.h is in libhepmc-dev 2.06.09-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef HEPMC_VERSION_H
#define HEPMC_VERSION_H
// ----------------------------------------------------------------------
//
// Version.h
// Author: Lynn Garren
//
// for now, these are free functions
//
// ----------------------------------------------------------------------
#include <string>
#include <iostream>
#include "HepMC/HepMCDefs.h"
namespace HepMC {
void version( std::ostream & os = std::cout ); //!< print HepMC version
void writeVersion( std::ostream & os ); //!< write HepMC version to os
std::string versionName( ); //!< return HepMC version
inline std::string versionName( )
{
return HEPMC_VERSION;
}
inline void version( std::ostream & os )
{
os << " --------------- HepMC Version " << versionName()
<< " --------------- " << std::endl;
}
inline void writeVersion( std::ostream & os )
{
os << " HepMC Version: " << versionName() << std::endl;
}
} // HepMC
#endif // HEPMC_VERSION_H
|