Mantid
Loading...
Searching...
No Matches
LogValueFinder.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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#include "DllOption.h"
11#include <QStringList>
12
13namespace MantidQt {
14namespace MantidWidgets {
15
20public:
22 explicit LogValueFinder(QStringList wsNames);
24 std::vector<std::string> getLogNames() const;
26 double getLogValue(const QString &logName, const Mantid::Kernel::Math::StatisticType &function, int index) const;
28 double getLogValue(const QString &logName, const Mantid::Kernel::Math::StatisticType &function,
29 const QString &wsName) const;
30
31private:
33 const QStringList m_wsNames;
34};
35
36} // namespace MantidWidgets
37} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
MDFLogValueFinder : Holds a collection of workspace names, and finds log values from them.
const QStringList m_wsNames
Workspace names.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
StatisticType
Maps a "statistic" to a number.
Definition: Statistics.h:18