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 +
10
11// PropertyWithValue implementation
15#include "MantidNexus/NexusFile.h"
16
17namespace Mantid::Kernel {
18
20// The headers declare these with MANTID_KERNEL_EXTERN_TEMPLATE, which already
21// carries the export attribute, so gcc warns that the one here is ignored.
22GNU_DIAG_OFF("attributes")
23template class MANTID_KERNEL_DLL PropertyWithValue<float>;
24template class MANTID_KERNEL_DLL PropertyWithValue<double>;
25template class MANTID_KERNEL_DLL PropertyWithValue<int32_t>;
26template class MANTID_KERNEL_DLL PropertyWithValue<uint32_t>;
27template class MANTID_KERNEL_DLL PropertyWithValue<int64_t>;
28template class MANTID_KERNEL_DLL PropertyWithValue<uint64_t>;
29template class MANTID_KERNEL_DLL PropertyWithValue<uint16_t>;
30template class MANTID_KERNEL_DLL PropertyWithValue<bool>;
31template class MANTID_KERNEL_DLL PropertyWithValue<OptionalBool>;
32template class MANTID_KERNEL_DLL PropertyWithValue<std::string>;
33template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<float>>;
34template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<double>>;
35template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<int32_t>>;
36template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<uint16_t>>;
37template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<uint32_t>>;
38template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<int64_t>>;
39template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<uint64_t>>;
40template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<bool>>;
41template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<OptionalBool>>;
42template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<std::string>>;
43template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<std::vector<int32_t>>>;
44template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<std::vector<std::string>>>;
45template class MANTID_KERNEL_DLL PropertyWithValue<Matrix<float>>;
46template class MANTID_KERNEL_DLL PropertyWithValue<Matrix<double>>;
47template class MANTID_KERNEL_DLL PropertyWithValue<Matrix<int>>;
48template class MANTID_KERNEL_DLL PropertyWithValue<std::shared_ptr<PropertyManager>>;
49#if defined(_WIN32) || defined(__clang__) && defined(__APPLE__)
50template class MANTID_KERNEL_DLL PropertyWithValue<long>;
51template class MANTID_KERNEL_DLL PropertyWithValue<unsigned long>;
52template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<long>>;
53template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<unsigned long>>;
54template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<std::vector<long>>>;
55#endif
56#ifdef __linux__
57template class MANTID_KERNEL_DLL PropertyWithValue<long long>;
58template class MANTID_KERNEL_DLL PropertyWithValue<unsigned long long>;
59template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<long long>>;
60template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<unsigned long long>>;
61template class MANTID_KERNEL_DLL PropertyWithValue<std::vector<std::vector<long long>>>;
62#endif
63GNU_DIAG_ON("attributes")
65
66} // 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.