CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

ClhepVersion.h
Go to the documentation of this file.
1#ifndef CLHEP_VERSION_H
2#define CLHEP_VERSION_H 1
3//
4// ClhepVersion.h
5//
6// Sample Usage:
7// std::string version = CLHEP::Version::String()
8// int mjr = CLHEP::Version::Major();
9//
10
11#include <string>
12
13namespace CLHEP {
14
15 struct Version {
16
17 static std::string String() { return "2.1.4.1"; }
18 static int Major() { return 2; }
19 static int SubMajor() { return 1; }
20 static int Minor() { return 4; }
21 static int SubMinor() { return 1; }
22
23 };
24
25} // namespace
26
27#endif // CLHEP_VERSION_H
static int SubMinor()
static int Major()
static std::string String()
static int SubMajor()
static int Minor()