Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::DataObjects::PeakNoShapeFactory Class Reference

PeakNoShapeFactory : Factory method for types of NoShape. More...

#include <PeakNoShapeFactory.h>

Inheritance diagram for Mantid::DataObjects::PeakNoShapeFactory:
Mantid::DataObjects::PeakShapeFactory

Public Member Functions

Mantid::Geometry::PeakShapecreate (const std::string &source) const override
 Creational method. More...
 
void setSuccessor (std::shared_ptr< const PeakShapeFactory > successorFactory) override
 Set the successor factory. More...
 
- Public Member Functions inherited from Mantid::DataObjects::PeakShapeFactory
virtual Mantid::Geometry::PeakShapecreate (const std::string &source) const =0
 Make the product. More...
 
virtual void setSuccessor (std::shared_ptr< const PeakShapeFactory > successorFactory)=0
 Set the successor factory. More...
 
virtual ~PeakShapeFactory ()=default
 Destructor. More...
 

Detailed Description

PeakNoShapeFactory : Factory method for types of NoShape.

Definition at line 19 of file PeakNoShapeFactory.h.

Member Function Documentation

◆ create()

Mantid::Geometry::PeakShape * Mantid::DataObjects::PeakNoShapeFactory::create ( const std::string &  source) const
overridevirtual

Creational method.

Returns
new NoShape object

Implements Mantid::DataObjects::PeakShapeFactory.

Definition at line 18 of file PeakNoShapeFactory.cpp.

◆ setSuccessor()

void Mantid::DataObjects::PeakNoShapeFactory::setSuccessor ( std::shared_ptr< const PeakShapeFactory successorFactory)
overridevirtual

Set the successor factory.

create will be called on that if this instance is not suitable.

Implements Mantid::DataObjects::PeakShapeFactory.

Definition at line 12 of file PeakNoShapeFactory.cpp.


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