File: ClhepVersion.h.in

package info (click to toggle)
clhep 2.1.4.1%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,012 kB
  • sloc: cpp: 50,094; sh: 6,694; makefile: 2,694; perl: 28
file content (27 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (5)
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
#ifndef CLHEP_VERSION_H
#define CLHEP_VERSION_H 1
//
// ClhepVersion.h
//
// Sample Usage:
//   std::string version = CLHEP::Version::String()
//   int mjr = CLHEP::Version::Major();
//

#include <string>

namespace CLHEP {

  struct Version {

    static std::string String() { return "@VERSION@"; }
    static int Major()          { return @CLHEP_Major@; }
    static int SubMajor()       { return @CLHEP_SubMajor@; }
    static int Minor()          { return @CLHEP_Minor@; }
    static int SubMinor()       { return @CLHEP_SubMinor@; }

  };

} // namespace

#endif	// CLHEP_VERSION_H