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

MDUnitFactory : Abstract type. More...

#include <MDUnitFactory.h>

Inheritance diagram for Mantid::Kernel::MDUnitFactory:
Mantid::Kernel::ChainableFactory< MDUnitFactory, MDUnit, std::string > Mantid::Kernel::Chainable< ChainableType > Mantid::Kernel::InverseAngstromsUnitFactory Mantid::Kernel::LabelUnitFactory Mantid::Kernel::ReciprocalLatticeUnitFactory

Private Member Functions

bool canInterpret (const std::string &unitString) const override=0
 Indicate an ability to intepret the string. More...
 
MDUnitcreateRaw (const std::string &unitString) const override=0
 Create the product. More...
 

Additional Inherited Members

- Public Member Functions inherited from Mantid::Kernel::ChainableFactory< MDUnitFactory, MDUnit, std::string >
std::unique_ptr< MDUnitcreate (const std::string &argument) const
 Factory method wrapper. More...
 
- Public Member Functions inherited from Mantid::Kernel::Chainable< ChainableType >
bool hasSuccessor () const
 
template<typename T >
ChainablesetSuccessor (T &&successor)
 Set the successor. More...
 
virtual ~Chainable ()=0
 Keep our destructor pure virtual, but require an implementation. More...
 
- 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...
 

Detailed Description

MDUnitFactory : Abstract type.

Factory method with chain of reponsibility succession for creating MDUnits.

Definition at line 21 of file MDUnitFactory.h.

Member Function Documentation

◆ canInterpret()

bool Mantid::Kernel::MDUnitFactory::canInterpret ( const std::string &  unitString) const
overrideprivatepure virtual

◆ createRaw()

MDUnit * Mantid::Kernel::MDUnitFactory::createRaw ( const std::string &  unitString) const
overrideprivatepure virtual

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