Mantid
Loading...
Searching...
No Matches
qt
widgets
common
src
ImageInfoModel.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2020 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
8
#include "
MantidQtWidgets/Common/ImageInfoModel.h
"
9
#include "
MantidQtWidgets/Common/QStringUtils.h
"
10
11
#include <sstream>
12
13
namespace
{}
14
15
namespace
MantidQt::MantidWidgets
{
16
17
// ImageInfo
18
23
ImageInfoModel::ImageInfo::ImageInfo
(
ImageInfoModel::ImageInfo::StringItems
names) : m_names(
std
::move(names)) {
24
m_values
.resize(
m_names
.size(),
MissingValue
);
25
}
26
27
}
// namespace MantidQt::MantidWidgets
ImageInfoModel.h
QStringUtils.h
MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::ImageInfo
ImageInfo(StringItems names)
Construct an ImageInfo to store name/value pairs.
Definition:
ImageInfoModel.cpp:23
MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::StringItems
std::vector< QString > StringItems
Definition:
ImageInfoModel.h:26
MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::m_values
StringItems m_values
Definition:
ImageInfoModel.h:35
MantidQt::MantidWidgets::ImageInfoModel::ImageInfo::m_names
StringItems m_names
Definition:
ImageInfoModel.h:34
MantidQt::MantidWidgets::ImageInfoModel::MissingValue
static const QString MissingValue
MissingValue identifier.
Definition:
ImageInfoModel.h:45
MantidQt::MantidWidgets
Definition:
AddWorkspaceDialog.h:21
std
STL namespace.
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5