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

#include <MDUnitFactory.h>

Inheritance diagram for Mantid::Kernel::LabelUnitFactory:
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...
 
LabelUnitcreateRaw (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 35 of file MDUnitFactory.h.

Member Function Documentation

◆ canInterpret()

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

Indicate an ability to intepret the string.

Implements Mantid::Kernel::MDUnitFactory.

Definition at line 18 of file MDUnitFactory.cpp.

◆ createRaw()

LabelUnit * Mantid::Kernel::LabelUnitFactory::createRaw ( const std::string &  unitString) const
overrideprivatevirtual

Create the product.

Implements Mantid::Kernel::MDUnitFactory.

Definition at line 14 of file MDUnitFactory.cpp.


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