Mantid
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | Private Member Functions | List of all members
Mantid::Kernel::MantidVersion Class Reference

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.
 

Detailed Description

Class containing static methods to return the Mantid version number and date.

Definition at line 21 of file MantidVersion.h.

Constructor & Destructor Documentation

◆ MantidVersion()

Mantid::Kernel::MantidVersion::MantidVersion ( )
private

Private, unimplemented constructor. Not a class that can be instantiated.

Member Function Documentation

◆ doi()

std::string Mantid::Kernel::MantidVersion::doi ( )
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().

◆ paperCitation()

std::string Mantid::Kernel::MantidVersion::paperCitation ( )
static

The citation for the Mantid paper.

Definition at line 113 of file MantidVersion.cpp.

Referenced by export_MantidVersion(), and Mantid::welcomeMessage().

◆ releaseDate()

const char * Mantid::Kernel::MantidVersion::releaseDate ( )
static

◆ releaseNotes()

std::string Mantid::Kernel::MantidVersion::releaseNotes ( )
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().

◆ revision()

const char * Mantid::Kernel::MantidVersion::revision ( )
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().

◆ revisionFull()

const char * Mantid::Kernel::MantidVersion::revisionFull ( )
static

◆ version()

const char * Mantid::Kernel::MantidVersion::version ( )
static

◆ versionForReleaseNotes()

std::string Mantid::Kernel::MantidVersion::versionForReleaseNotes ( const VersionInfo version)
static

The version of mantid for the release notes url.

Definition at line 39 of file MantidVersion.cpp.

References version().

Referenced by releaseNotes().

◆ versionInfo()

const MantidVersion::VersionInfo Mantid::Kernel::MantidVersion::versionInfo ( )
static

A data structure containing the full version info.

Definition at line 35 of file MantidVersion.cpp.

Referenced by export_MantidVersion(), and releaseNotes().

◆ versionShort()

const char * Mantid::Kernel::MantidVersion::versionShort ( )
static

The version number of the last full version.

Definition at line 30 of file MantidVersion.cpp.

Referenced by Mantid::Kernel::UsageServiceImpl::generateFeatureHeader().


The documentation for this class was generated from the following files: