13#include "MantidAPI/DllConfig.h"
35 Axis *clone(
const std::size_t length,
const MatrixWorkspace *
const parentWorkspace)
override;
36 std::size_t length()
const override;
39 double operator()(
const std::size_t &
index,
const std::size_t &verticalIndex = 0)
const override;
40 void setValue(
const std::size_t &
index,
const double &
value)
override;
41 size_t indexOfValue(
const double value)
const override;
43 std::string label(
const std::size_t &
index)
const override;
50 double getMin()
const override;
51 double getMax()
const override;
double value
The value of the point.
std::map< DeltaEMode::Type, std::string > index
Class to represent the axis of a workspace.
Base MatrixWorkspace Abstract Class.
Class to represent the spectra axis of a workspace.
const SpectraAxis & operator=(const SpectraAxis &)
Private, undefined copy assignment operator.
SpectraAxis(const SpectraAxis &)
Private, undefined copy constructor.
std::vector< double > m_edges
List of edge values for quick searching of values as if this is binned data.
bool isSpectra() const override
If this is a spectra Axis - always true for this class.
const MatrixWorkspace *const m_parentWS
A pointer to the workspace holding the axis.
SpectraAxis()
Default constructor.
Helper class which provides the Collimation Length for SANS instruments.
std::unordered_map< specnum_t, size_t > spec2index_map
Map with key = spectrum number, value = workspace index.
int32_t specnum_t
Typedef for a spectrum Number.
constexpr bool operator==(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)