Mantid
Loading...
Searching...
No Matches
Framework
Kernel
inc
MantidKernel
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
16
namespace
Mantid
{
17
namespace
Kernel {
21
class
MANTID_KERNEL_DLL
MantidVersion
{
22
public
:
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
41
private
:
42
MantidVersion
();
43
};
44
45
}
// namespace Kernel
46
}
// namespace Mantid
Mantid::Kernel::MantidVersion
Class containing static methods to return the Mantid version number and date.
Definition
MantidVersion.h:21
Mantid::Kernel::MantidVersion::MantidVersion
MantidVersion()
Private, unimplemented constructor. Not a class that can be instantiated.
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Mantid::Kernel::MantidVersion::VersionInfo
Definition
MantidVersion.h:23
Mantid::Kernel::MantidVersion::VersionInfo::patch
std::string patch
Definition
MantidVersion.h:26
Mantid::Kernel::MantidVersion::VersionInfo::tweak
std::string tweak
Definition
MantidVersion.h:27
Mantid::Kernel::MantidVersion::VersionInfo::major
std::string major
Definition
MantidVersion.h:24
Mantid::Kernel::MantidVersion::VersionInfo::minor
std::string minor
Definition
MantidVersion.h:25
Generated by
1.9.8