Mantid
Loading...
Searching...
No Matches
Framework
DataObjects
inc
MantidDataObjects
PeakNoShapeFactory.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2015 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
#include "
MantidDataObjects/PeakShapeFactory.h
"
10
11
namespace
Mantid
{
12
namespace
Geometry {
13
// Forward declaration
14
class
PeakShape;
15
}
// namespace Geometry
16
namespace
DataObjects {
19
class
MANTID_DATAOBJECTS_DLL
PeakNoShapeFactory
:
public
PeakShapeFactory
{
20
public
:
21
// Factory method
22
Mantid::Geometry::PeakShape
*
create
(
const
std::string &source)
const override
;
23
// Set successor. No shape will not delegate.
24
void
setSuccessor(std::shared_ptr<const PeakShapeFactory> successorFactory)
override
;
25
26
private
:
27
};
28
29
}
// namespace DataObjects
30
}
// namespace Mantid
PeakShapeFactory.h
Mantid::DataObjects::PeakNoShapeFactory
PeakNoShapeFactory : Factory method for types of NoShape.
Definition
PeakNoShapeFactory.h:19
Mantid::DataObjects::PeakShapeFactory
PeakShapeFactory : Factory for creating peak shapes.
Definition
PeakShapeFactory.h:22
Mantid::Geometry::PeakShape
PeakShape : Abstract type to describes the shape of a peak.
Definition
PeakShape.h:20
Mantid::DataObjects::create
std::unique_ptr< T > create(const P &parent, const IndexArg &indexArg, const HistArg &histArg)
This is the create() method that all the other create() methods call.
Definition
WorkspaceCreation.h:132
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8