|
Mantid
|
Class containing static methods to return the Mantid version number and date. More...
#include <MantidVersion.h>
Classes | |
| struct | VersionInfo |
Static Public Member Functions | |
| static std::string | doi () |
| The DOI for this release of Mantid. | |
| static std::string | paperCitation () |
| The citation for the Mantid paper. | |
| static const char * | releaseDate () |
| The date of the last commit. | |
| static std::string | releaseNotes () |
| The url to the most applicable release notes. | |
| static const char * | revision () |
| The abbreviated SHA-1 of the last commit. | |
| static const char * | revisionFull () |
| The full SHA-1 of the last commit. | |
| static const char * | version () |
| The full version number. | |
| static std::string | versionForReleaseNotes (const VersionInfo &) |
| The version of mantid for the release notes url. | |
| static const VersionInfo | versionInfo () |
| A data structure containing the full version info. | |
| static const char * | versionShort () |
| The version number of the last full version. | |
Private Member Functions | |
| MantidVersion () | |
| Private, unimplemented constructor. Not a class that can be instantiated. | |
Class containing static methods to return the Mantid version number and date.
Definition at line 21 of file MantidVersion.h.
|
private |
Private, unimplemented constructor. Not a class that can be instantiated.
|
static |
The DOI for this release of Mantid.
Definition at line 89 of file MantidVersion.cpp.
References doi().
Referenced by doi(), export_MantidVersion(), and Mantid::welcomeMessage().
|
static |
The citation for the Mantid paper.
Definition at line 113 of file MantidVersion.cpp.
Referenced by export_MantidVersion(), and Mantid::welcomeMessage().
|
static |
The date of the last commit.
Definition at line 84 of file MantidVersion.cpp.
Referenced by Mantid::DataHandling::CheckMantidVersion::exec(), export_MantidVersion(), and Mantid::DataHandling::CheckMantidVersion::getVersionsFromGitHub().
|
static |
The url to the most applicable release notes.
Definition at line 62 of file MantidVersion.cpp.
References versionForReleaseNotes(), and versionInfo().
Referenced by export_MantidVersion(), and Mantid::API::NotebookWriter::headerComment().
|
static |
The abbreviated SHA-1 of the last commit.
Definition at line 74 of file MantidVersion.cpp.
Referenced by Mantid::Kernel::ConfigServiceImpl::ConfigServiceImpl(), and export_MantidVersion().
|
static |
The full SHA-1 of the last commit.
Definition at line 79 of file MantidVersion.cpp.
Referenced by Mantid::Algorithms::GeneratePythonScript::exec(), export_MantidVersion(), Mantid::Kernel::ErrorReporter::generateErrorMessage(), and Mantid::Kernel::UsageServiceImpl::generateStartupMessage().
|
static |
The full version number.
See buildconfig/CMake/VersionNumber.cmake for more information on the meaning of the version number elements.
Definition at line 25 of file MantidVersion.cpp.
Referenced by Mantid::DataHandling::NXcanSAS::addProcess(), Mantid::Kernel::ConfigServiceImpl::ConfigServiceImpl(), Mantid::Kernel::InternetHelper::createRequest(), Mantid::DataHandling::SaveCanSAS1D::createSASProcessElement(), Mantid::DataHandling::SaveCanSAS1D2::createSASProcessElement(), Mantid::Algorithms::GeneratePythonScript::exec(), Mantid::DataHandling::SaveNXSPE::exec(), export_MantidVersion(), Mantid::Kernel::EnvironmentHistory::frameworkVersion(), Mantid::Kernel::ErrorReporter::generateErrorMessage(), Mantid::Kernel::UsageServiceImpl::generateStartupMessage(), Mantid::DataHandling::CheckMantidVersion::getCurrentVersion(), Mantid::API::NotebookWriter::headerComment(), Mantid::DataHandling::SaveNXTomo::setupFile(), versionForReleaseNotes(), Mantid::welcomeMessage(), and Mantid::DataHandling::SavePDFGui::writeMetaData().
|
static |
The version of mantid for the release notes url.
Definition at line 39 of file MantidVersion.cpp.
References version().
Referenced by releaseNotes().
|
static |
A data structure containing the full version info.
Definition at line 35 of file MantidVersion.cpp.
Referenced by export_MantidVersion(), and releaseNotes().
|
static |
The version number of the last full version.
Definition at line 30 of file MantidVersion.cpp.
Referenced by Mantid::Kernel::UsageServiceImpl::generateFeatureHeader().