Mantid
|
HKLFrame derived MDFrameFactory type. More...
#include <MDFrameFactory.h>
Public Member Functions | |
bool | canInterpret (const MDFrameArgument &argument) const override |
Indicate an ability to intepret the string. More... | |
Public Member Functions inherited from Mantid::Kernel::ChainableFactory< MDFrameFactory, MDFrame, MDFrameArgument > | |
std::unique_ptr< MDFrame > | create (const MDFrameArgument &argument) const |
Factory method wrapper. More... | |
Public Member Functions inherited from Mantid::Kernel::Chainable< ChainableType > | |
bool | hasSuccessor () const |
template<typename T > | |
Chainable & | setSuccessor (T &&successor) |
Set the successor. More... | |
virtual | ~Chainable ()=0 |
Keep our destructor pure virtual, but require an implementation. More... | |
Private Member Functions | |
HKL * | createRaw (const MDFrameArgument &argument) const override |
Create the product. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::Kernel::Chainable< ChainableType > | |
virtual void | checkSuccessor () const |
Provide option for derived classes to check successor and throw if bad. More... | |
Protected Attributes inherited from Mantid::Kernel::Chainable< ChainableType > | |
std::unique_ptr< ChainableType > | m_successor |
Successor factory boost::optional<std::unique_ptr<ChainableType>> m_successor;. More... | |
HKLFrame derived MDFrameFactory type.
Definition at line 71 of file MDFrameFactory.h.
|
overridevirtual |
Indicate an ability to intepret the string.
Implements Mantid::Kernel::ChainableFactory< MDFrameFactory, MDFrame, MDFrameArgument >.
Definition at line 57 of file MDFrameFactory.cpp.
References Mantid::Geometry::MDFrameArgument::frameString, Mantid::Geometry::HKL::HKLName, Mantid::Kernel::Units::Symbol::InverseAngstrom, Mantid::Kernel::makeMDUnitFactoryChain(), Mantid::Kernel::Units::Symbol::RLU, and Mantid::Geometry::MDFrameArgument::unitString.
Referenced by Mantid::MDAlgorithms::SetMDFrame::createMDFrame().
|
overrideprivatevirtual |
Create the product.
Implements Mantid::Kernel::ChainableFactory< MDFrameFactory, MDFrame, MDFrameArgument >.
Definition at line 50 of file MDFrameFactory.cpp.
References Mantid::Kernel::makeMDUnitFactoryChain(), and Mantid::Geometry::MDFrameArgument::unitString.