Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
Batch
FindSubtreeRoots.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
12
#include "
MantidQtWidgets/Common/Batch/AssertOrThrow.h
"
13
#include "
MantidQtWidgets/Common/Batch/RowLocation.h
"
14
#include "
MantidQtWidgets/Common/DllOption.h
"
15
#include <boost/optional.hpp>
16
#include <string>
17
#include <vector>
18
namespace
MantidQt
{
19
namespace
MantidWidgets {
20
namespace
Batch {
21
22
class
EXPORT_OPT_MANTIDQT_COMMON
FindSubtreeRoots
{
23
public
:
24
boost::optional<std::vector<RowLocation>> operator()(std::vector<RowLocation> region);
25
26
private
:
27
void
removeIfDepthNotEqualTo(std::vector<RowLocation> ®ion,
int
expectedDepth)
const
;
28
};
29
30
}
// namespace Batch
31
}
// namespace MantidWidgets
32
}
// namespace MantidQt
AssertOrThrow.h
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
RowLocation.h
MantidQt::MantidWidgets::Batch::FindSubtreeRoots
Definition:
FindSubtreeRoots.h:22
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5