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

#include <MDUnitFactory.h>

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

Private Member Functions

bool canInterpret (const std::string &unitString) const override
 Indicate an ability to intepret the string. More...
 
InverseAngstromsUnitcreateRaw (const std::string &unitString) const override
 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

Definition at line 40 of file MDUnitFactory.h.

Member Function Documentation

◆ canInterpret()

bool Mantid::Kernel::InverseAngstromsUnitFactory::canInterpret ( const std::string &  unitString) const
overrideprivatevirtual

Indicate an ability to intepret the string.

Implements Mantid::Kernel::MDUnitFactory.

Definition at line 26 of file MDUnitFactory.cpp.

◆ createRaw()

InverseAngstromsUnit * Mantid::Kernel::InverseAngstromsUnitFactory::createRaw ( const std::string &  unitString) const
overrideprivatevirtual

Create the product.

Implements Mantid::Kernel::MDUnitFactory.

Definition at line 22 of file MDUnitFactory.cpp.


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