Mantid
Loading...
Searching...
No Matches
ArchiveSearchFactory.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/DllConfig.h"
14#include "MantidKernel/Logger.h"
16
17namespace Mantid {
18namespace API {
19class IArchiveSearch;
20
27class MANTID_API_DLL ArchiveSearchFactoryImpl : public Kernel::DynamicFactory<IArchiveSearch> {
28public:
31
32private:
34
38 ~ArchiveSearchFactoryImpl() override = default;
39};
40
42} // namespace API
43} // namespace Mantid
44
45namespace Mantid {
46namespace Kernel {
47EXTERN_MANTID_API template class MANTID_API_DLL Mantid::Kernel::SingletonHolder<Mantid::API::ArchiveSearchFactoryImpl>;
48}
49} // namespace Mantid
Creates instances of IArchiveSearch.
~ArchiveSearchFactoryImpl() override=default
Private Destructor.
ArchiveSearchFactoryImpl(const ArchiveSearchFactoryImpl &)=delete
ArchiveSearchFactoryImpl()
Private Constructor for singleton class.
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.
Helper class which provides the Collimation Length for SANS instruments.
Policy class controlling creation of the singleton Implementation classes should mark their default c...