Mantid
Loading...
Searching...
No Matches
Row.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
11#pragma once
15#include <boost/optional.hpp>
16#include <ostream>
17#include <vector>
18
19namespace MantidQt {
20namespace MantidWidgets {
21namespace Batch {
22
24public:
25 Row(RowLocation location, std::vector<Cell> cells);
26
27 std::vector<Cell> const &cells() const;
28 std::vector<Cell> &cells();
29
30 RowLocation const &location() const;
31
32private:
34 std::vector<Cell> m_cells;
35};
36
37EXPORT_OPT_MANTIDQT_COMMON std::ostream &operator<<(std::ostream &os, Row const &location);
38EXPORT_OPT_MANTIDQT_COMMON bool operator==(Row const &lhs, Row const &rhs);
39EXPORT_OPT_MANTIDQT_COMMON bool operator!=(Row const &lhs, Row const &rhs);
40EXPORT_OPT_MANTIDQT_COMMON bool operator<(Row const &lhs, Row const &rhs);
41EXPORT_OPT_MANTIDQT_COMMON bool operator<=(Row const &lhs, Row const &rhs);
42EXPORT_OPT_MANTIDQT_COMMON bool operator>(Row const &lhs, Row const &rhs);
43EXPORT_OPT_MANTIDQT_COMMON bool operator>=(Row const &lhs, Row const &rhs);
44
45} // namespace Batch
46} // namespace MantidWidgets
47} // namespace MantidQt
const std::vector< double > & rhs
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
std::vector< Cell > m_cells
Definition: Row.h:34
EXPORT_OPT_MANTIDQT_COMMON bool operator<=(Row const &lhs, Row const &rhs)
Definition: Row.cpp:34
EXPORT_OPT_MANTIDQT_COMMON bool operator>(Row const &lhs, Row const &rhs)
Definition: Row.cpp:38
EXPORT_OPT_MANTIDQT_COMMON std::ostream & operator<<(std::ostream &os, Cell const &cell)
Definition: Cell.cpp:83
EXPORT_OPT_MANTIDQT_COMMON bool operator<(Row const &lhs, Row const &rhs)
Definition: Row.cpp:32
EXPORT_OPT_MANTIDQT_COMMON bool operator==(Cell const &lhs, Cell const &rhs)
Definition: Cell.cpp:88
EXPORT_OPT_MANTIDQT_COMMON bool operator>=(Row const &lhs, Row const &rhs)
Definition: Row.cpp:36
EXPORT_OPT_MANTIDQT_COMMON bool operator!=(Cell const &lhs, Cell const &rhs)
Definition: Cell.cpp:93
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...