18 : m_unit(unit.release()), m_frameName(
std::move(frameName)) {}
28 m_unit = std::unique_ptr<Kernel::MDUnit>(newUnit.
clone());
51 }
catch (std::bad_cast &) {
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
GeneralFrame : Any MDFrame that isn't related to momemtum transfer.
Mantid::Kernel::SpecialCoordinateSystem equivalientSpecialCoordinateSystem() const override
bool canConvertTo(const Kernel::MDUnit &otherUnit) const override
GeneralFrame * clone() const override
bool isSameType(const MDFrame &frame) const override
Kernel::UnitLabel getUnitLabel() const override
static const std::string GeneralFrameTOF
static const std::string GeneralFrameDistance
const std::string m_frameName
Frame name.
const Kernel::MDUnit & getMDUnit() const override
std::unique_ptr< Mantid::Kernel::MDUnit > m_unit
Label unit.
static const std::string GeneralFrameName
bool isQ() const override
bool setMDUnit(const Mantid::Kernel::MDUnit &newUnit) override
std::string name() const override
GeneralFrame(std::string frameName, const Kernel::UnitLabel &unit)
MDFrame : The coordinate frame for a dimension, or set of dimensions in a multidimensional workspace.
MDUnit : Unit type for multidimensional data types.
virtual MDUnit * clone() const =0
A base-class for the a class that is able to return unit labels in different representations.
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.