Mantid
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Mantid::Geometry::UnknownFrame Class Reference

UnknownFrame : Unknown MDFrame. More...

#include <UnknownFrame.h>

Inheritance diagram for Mantid::Geometry::UnknownFrame:
Mantid::Geometry::MDFrame

Public Member Functions

bool canConvertTo (const Mantid::Kernel::MDUnit &otherUnit) const override
 
UnknownFrameclone () const override
 
Mantid::Kernel::SpecialCoordinateSystem equivalientSpecialCoordinateSystem () const override
 
const Mantid::Kernel::MDUnitgetMDUnit () const override
 
Mantid::Kernel::UnitLabel getUnitLabel () const override
 
bool isQ () const override
 
bool isSameType (const MDFrame &frame) const override
 
std::string name () const override
 
bool setMDUnit (const Mantid::Kernel::MDUnit &newUnit) override
 
 UnknownFrame (const Kernel::UnitLabel &unit)
 
 UnknownFrame (std::unique_ptr< Kernel::MDUnit > unit)
 
- Public Member Functions inherited from Mantid::Geometry::MDFrame
virtual bool canConvertTo (const Mantid::Kernel::MDUnit &otherUnit) const =0
 
virtual MDFrameclone () const =0
 
virtual Mantid::Kernel::SpecialCoordinateSystem equivalientSpecialCoordinateSystem () const =0
 
virtual const Mantid::Kernel::MDUnitgetMDUnit () const =0
 
virtual Mantid::Kernel::UnitLabel getUnitLabel () const =0
 
virtual bool isQ () const =0
 
virtual bool isSameType (const MDFrame &frame) const =0
 
virtual std::string name () const =0
 
virtual bool setMDUnit (const Mantid::Kernel::MDUnit &newUnit)=0
 
virtual ~MDFrame ()=default
 

Static Public Attributes

static const std::string UnknownFrameName = "Unknown frame"
 

Private Attributes

const std::unique_ptr< Mantid::Kernel::MDUnitm_unit
 Label unit. More...
 

Detailed Description

UnknownFrame : Unknown MDFrame.

Definition at line 21 of file UnknownFrame.h.

Constructor & Destructor Documentation

◆ UnknownFrame() [1/2]

Mantid::Geometry::UnknownFrame::UnknownFrame ( std::unique_ptr< Kernel::MDUnit unit)

Definition at line 11 of file UnknownFrame.cpp.

◆ UnknownFrame() [2/2]

Mantid::Geometry::UnknownFrame::UnknownFrame ( const Kernel::UnitLabel unit)

Definition at line 13 of file UnknownFrame.cpp.

Member Function Documentation

◆ canConvertTo()

bool Mantid::Geometry::UnknownFrame::canConvertTo ( const Mantid::Kernel::MDUnit otherUnit) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 17 of file UnknownFrame.cpp.

◆ clone()

UnknownFrame * Mantid::Geometry::UnknownFrame::clone ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 33 of file UnknownFrame.cpp.

References m_unit.

◆ equivalientSpecialCoordinateSystem()

Mantid::Kernel::SpecialCoordinateSystem Mantid::Geometry::UnknownFrame::equivalientSpecialCoordinateSystem ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 29 of file UnknownFrame.cpp.

References Mantid::Kernel::None.

◆ getMDUnit()

const Mantid::Kernel::MDUnit & Mantid::Geometry::UnknownFrame::getMDUnit ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 27 of file UnknownFrame.cpp.

References m_unit.

◆ getUnitLabel()

Mantid::Kernel::UnitLabel Mantid::Geometry::UnknownFrame::getUnitLabel ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 25 of file UnknownFrame.cpp.

References m_unit.

◆ isQ()

bool Mantid::Geometry::UnknownFrame::isQ ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 35 of file UnknownFrame.cpp.

◆ isSameType()

bool Mantid::Geometry::UnknownFrame::isSameType ( const MDFrame frame) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 37 of file UnknownFrame.cpp.

References isSameType(), tmp, and UNUSED_ARG.

Referenced by isSameType().

◆ name()

std::string Mantid::Geometry::UnknownFrame::name ( ) const
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 23 of file UnknownFrame.cpp.

References UnknownFrameName.

◆ setMDUnit()

bool Mantid::Geometry::UnknownFrame::setMDUnit ( const Mantid::Kernel::MDUnit newUnit)
overridevirtual

Implements Mantid::Geometry::MDFrame.

Definition at line 21 of file UnknownFrame.cpp.

Member Data Documentation

◆ m_unit

const std::unique_ptr<Mantid::Kernel::MDUnit> Mantid::Geometry::UnknownFrame::m_unit
private

Label unit.

Definition at line 39 of file UnknownFrame.h.

Referenced by clone(), getMDUnit(), and getUnitLabel().

◆ UnknownFrameName

const std::string Mantid::Geometry::UnknownFrame::UnknownFrameName = "Unknown frame"
static

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