Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Kernel::MDUnit Class Referenceabstract

MDUnit : Unit type for multidimensional data types. More...

#include <MDUnit.h>

Inheritance diagram for Mantid::Kernel::MDUnit:
Mantid::Kernel::LabelUnit Mantid::Kernel::QUnit Mantid::Kernel::InverseAngstromsUnit Mantid::Kernel::ReciprocalLatticeUnit

Public Member Functions

virtual bool canConvertTo (const MDUnit &other) const =0
 
virtual MDUnitclone () const =0
 
virtual UnitLabel getUnitLabel () const =0
 
virtual bool isQUnit () const =0
 
bool operator== (const MDUnit &other) const
 
virtual ~MDUnit ()=default
 

Detailed Description

MDUnit : Unit type for multidimensional data types.

Not convertable to/from TOF unlike Unit.

Definition at line 20 of file MDUnit.h.

Constructor & Destructor Documentation

◆ ~MDUnit()

virtual Mantid::Kernel::MDUnit::~MDUnit ( )
virtualdefault

Member Function Documentation

◆ canConvertTo()

virtual bool Mantid::Kernel::MDUnit::canConvertTo ( const MDUnit other) const
pure virtual

◆ clone()

virtual MDUnit * Mantid::Kernel::MDUnit::clone ( ) const
pure virtual

◆ getUnitLabel()

virtual UnitLabel Mantid::Kernel::MDUnit::getUnitLabel ( ) const
pure virtual

◆ isQUnit()

virtual bool Mantid::Kernel::MDUnit::isQUnit ( ) const
pure virtual

◆ operator==()

bool Mantid::Kernel::MDUnit::operator== ( const MDUnit other) const

Definition at line 14 of file MDUnit.cpp.

References canConvertTo().


The documentation for this class was generated from the following files: