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 };
28
29 static const char *version();
30 static const char *versionShort();
31 static const VersionInfo versionInfo();
32 static std::string releaseNotes();
33 static const char *revision();
34 static const char *revisionFull();
35 static const char *releaseDate();
36 static std::string doi();
37 static std::string paperCitation();
38
39private:
42};
43
44} // namespace Kernel
45} // namespace Mantid
Class containing static methods to return the Mantid version number and date.
Definition: MantidVersion.h:21
MantidVersion()
Private, unimplemented constructor.
Helper class which provides the Collimation Length for SANS instruments.