Mantid
Loading...
Searching...
No Matches
ImplicitFunctionFactory.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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
20#include "MantidAPI/DllConfig.h"
24
25namespace Mantid {
26namespace API {
27class MANTID_API_DLL ImplicitFunctionFactoryImpl : public Kernel::DynamicFactory<Mantid::Geometry::MDImplicitFunction> {
28public:
31 Mantid::Geometry::MDImplicitFunction_sptr create(const std::string &className) const override;
32
33 virtual Mantid::Geometry::MDImplicitFunction *createUnwrapped(Poco::XML::Element *processXML) const;
34
35 Mantid::Geometry::MDImplicitFunction *createUnwrapped(const std::string &processXML) const override;
36
38
39private:
43 ~ImplicitFunctionFactoryImpl() override = default;
44};
45
47} // namespace API
48} // namespace Mantid
49
50namespace Mantid {
51namespace Kernel {
52EXTERN_MANTID_API template class MANTID_API_DLL
54}
55} // namespace Mantid
~ImplicitFunctionFactoryImpl() override=default
Private Destructor.
ImplicitFunctionFactoryImpl()=default
Private Constructor for singleton class.
ImplicitFunctionFactoryImpl & operator=(const ImplicitFunctionFactoryImpl &)=delete
ImplicitFunctionFactoryImpl(const ImplicitFunctionFactoryImpl &)=delete
An "ImplicitFunction" defining a hyper-cuboid-shaped region in N dimensions.
The dynamic factory is a base dynamic factory for serving up objects in response to requests from oth...
Manage the lifetime of a class intended to be a singleton.
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.
std::shared_ptr< MDImplicitFunction > MDImplicitFunction_sptr
Helper class which provides the Collimation Length for SANS instruments.
Policy class controlling creation of the singleton Implementation classes should mark their default c...