Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
inc
MantidAlgorithms
MatrixWorkspaceAccess.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 +
7
#pragma once
8
9
#include "
MantidAPI/MatrixWorkspace.h
"
10
11
namespace
Mantid
{
12
namespace
Algorithms {
13
14
struct
MatrixWorkspaceAccess
{
15
static
decltype
(std::mem_fn((std::vector<double> & (
API::MatrixWorkspace
::*)(
const
std::size_t)) &
16
API::MatrixWorkspace::dataX
))
x
;
17
};
18
}
// namespace Algorithms
19
}
// namespace Mantid
MatrixWorkspace.h
Mantid::API::MatrixWorkspace
Base MatrixWorkspace Abstract Class.
Definition
MatrixWorkspace.h:92
Mantid::API::MatrixWorkspace::dataX
virtual MantidVec & dataX(const std::size_t index)
Deprecated, use mutableX() instead. Returns the x data.
Definition
MatrixWorkspace.h:313
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Mantid::Algorithms::MatrixWorkspaceAccess
Definition
MatrixWorkspaceAccess.h:14
Mantid::Algorithms::MatrixWorkspaceAccess::x
static decltype(std::mem_fn((std::vector< double > &(API::MatrixWorkspace::*)(const std::size_t)) &API::MatrixWorkspace::dataX)) x
Definition
MatrixWorkspaceAccess.h:16
Generated by
1.9.8