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

PeakShapeFactory : Factory for creating peak shapes. More...

#include <PeakShapeFactory.h>

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

Public Member Functions

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

PeakShapeFactory : Factory for creating peak shapes.

Definition at line 22 of file PeakShapeFactory.h.

Constructor & Destructor Documentation

◆ ~PeakShapeFactory()

virtual Mantid::DataObjects::PeakShapeFactory::~PeakShapeFactory ( )
virtualdefault

Destructor.

Member Function Documentation

◆ create()

virtual Mantid::Geometry::PeakShape * Mantid::DataObjects::PeakShapeFactory::create ( const std::string &  source) const
pure virtual

◆ setSuccessor()

virtual void Mantid::DataObjects::PeakShapeFactory::setSuccessor ( std::shared_ptr< const PeakShapeFactory successorFactory)
pure virtual

Set the successor factory.

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

Implemented in Mantid::DataObjects::PeakNoShapeFactory, and Mantid::DataObjects::PeakShapeEllipsoidFactory.


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