CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
00001 #ifndef CLHEP_VERSION_H 00002 #define CLHEP_VERSION_H 1 00003 // 00004 // ClhepVersion.h 00005 // 00006 // Sample Usage: 00007 // std::string version = CLHEP::Version::String() 00008 // int mjr = CLHEP::Version::Major(); 00009 // 00010 00011 #include <string> 00012 00013 namespace CLHEP { 00014 00015 struct Version { 00016 00017 static std::string String() { return "2.1.2.2"; } 00018 static int Major() { return 2; } 00019 static int SubMajor() { return 1; } 00020 static int Minor() { return 2; } 00021 static int SubMinor() { return 2; } 00022 00023 }; 00024 00025 } // namespace 00026 00027 #endif // CLHEP_VERSION_H