00001 #ifndef HEPMC_VERSION_H
00002 #define HEPMC_VERSION_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include <string>
00013 #include <iostream>
00014
00015 namespace HepMC {
00016
00017 void version( );
00018 void writeVersion( std::ostream & os );
00019 std::string versionName( );
00020
00021 inline std::string versionName( )
00022 {
00023 return "2.03.09";
00024 }
00025
00026 inline void version( )
00027 {
00028 std::cout << " --------------- HepMC Version " << versionName()
00029 << " --------------- " << std::endl;
00030 }
00031
00032 inline void writeVersion( std::ostream & os )
00033 {
00034 os << " HepMC Version: " << versionName() << std::endl;
00035 }
00036
00037 }
00038
00039 #endif // HEPMC_VERSION_H