Mantid
Loading...
Searching...
No Matches
MantidVersion.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidKernel/DllConfig.h"
13
14#include <string>
15
16namespace Mantid {
17namespace Kernel {
21class MANTID_KERNEL_DLL MantidVersion {
22public:
23 struct VersionInfo {
24 std::string major;
25 std::string minor;
26 std::string patch;
27 std::string tweak;
28 };
29
30 static const char *version();
31 static const char *versionShort();
32 static const VersionInfo versionInfo();
33 static std::string releaseNotes();
34 static const char *revision();
35 static const char *revisionFull();
36 static const char *releaseDate();
37 static std::string doi();
38 static std::string paperCitation();
39 static std::string versionForReleaseNotes(const VersionInfo &);
40
41private:
43};
44
45} // namespace Kernel
46} // namespace Mantid
Class containing static methods to return the Mantid version number and date.
MantidVersion()
Private, unimplemented constructor. Not a class that can be instantiated.
Helper class which provides the Collimation Length for SANS instruments.