Mantid
Loading...
Searching...
No Matches
PropertyWithValue.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
8#include "MantidAPI/DllConfig.h"
12#include "MantidAPI/IFunction.h"
21#include "MantidAPI/Workspace.h"
23
24// PropertyWithValue implementation
27
28namespace Mantid::Kernel {
29
31// The headers of these types declare them with MANTID_API_EXTERN_TEMPLATE, which already carries the export
32// attribute, so gcc warns that the one here is ignored.
33GNU_DIAG_OFF("attributes")
34template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IAlgorithm>>;
35template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IEventWorkspace>>;
36template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IFunction>>;
37template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IMaskWorkspace>>;
38template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IMDEventWorkspace>>;
39template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IMDHistoWorkspace>>;
40template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IMDWorkspace>>;
41template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::IPeaksWorkspace>>;
42template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::ISplittersWorkspace>>;
43template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::ITableWorkspace>>;
44template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::MatrixWorkspace>>;
45template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::Workspace>>;
46template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::WorkspaceGroup>>;
47template class MANTID_API_DLL PropertyWithValue<std::shared_ptr<API::ExperimentInfo>>;
48GNU_DIAG_ON("attributes")
50
51} // namespace Mantid::Kernel
#define GNU_DIAG_ON(x)
#define GNU_DIAG_OFF(x)
This is a collection of macros for turning compiler warnings off in a controlled manner.
STL namespace.