Mantid
Loading...
Searching...
No Matches
EnvironmentHistory.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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#include <iosfwd>
14#include <string>
15
16namespace Mantid {
17namespace Kernel {
24class MANTID_KERNEL_DLL EnvironmentHistory {
25public:
27 std::string frameworkVersion() const;
29 std::string osName() const;
31 std::string osVersion() const;
33 void printSelf(std::ostream &, const int indent = 0) const;
34};
35
36MANTID_KERNEL_DLL std::ostream &operator<<(std::ostream &, const EnvironmentHistory &);
37
38} // namespace Kernel
39} // namespace Mantid
This class stores information about the Environment of the computer used by the framework.
MANTID_KERNEL_DLL std::ostream & operator<<(std::ostream &, CPUTimer &)
Convenience function to provide for easier debug printing.
Definition: CPUTimer.cpp:86
Helper class which provides the Collimation Length for SANS instruments.