Mantid
|
#include <MDUnit.h>
Public Member Functions | |
bool | canConvertTo (const MDUnit &other) const override |
LabelUnit * | clone () const override |
UnitLabel | getUnitLabel () const override |
bool | isQUnit () const override |
LabelUnit (UnitLabel unitLabel) | |
Public Member Functions inherited from Mantid::Kernel::MDUnit | |
virtual bool | canConvertTo (const MDUnit &other) const =0 |
virtual MDUnit * | clone () const =0 |
virtual UnitLabel | getUnitLabel () const =0 |
virtual bool | isQUnit () const =0 |
bool | operator== (const MDUnit &other) const |
virtual | ~MDUnit ()=default |
Private Attributes | |
UnitLabel | m_unitLabel |
Mantid::Kernel::LabelUnit::LabelUnit | ( | UnitLabel | unitLabel | ) |
Definition at line 80 of file MDUnit.cpp.
|
overridevirtual |
Implements Mantid::Kernel::MDUnit.
Definition at line 84 of file MDUnit.cpp.
References Mantid::Kernel::MDUnit::getUnitLabel(), and getUnitLabel().
|
overridevirtual |
Implements Mantid::Kernel::MDUnit.
Definition at line 92 of file MDUnit.cpp.
References m_unitLabel.
|
overridevirtual |
Implements Mantid::Kernel::MDUnit.
Definition at line 82 of file MDUnit.cpp.
References m_unitLabel.
Referenced by canConvertTo().
|
overridevirtual |
Implements Mantid::Kernel::MDUnit.
Definition at line 86 of file MDUnit.cpp.
References Mantid::Kernel::UnitLabel::ascii(), and m_unitLabel.
|
private |
Definition at line 60 of file MDUnit.h.
Referenced by clone(), getUnitLabel(), and isQUnit().