Computer Assisted Medical Intervention Tool Kit
version 6.0
Loading...
Searching...
No Matches
ItkTemplatesAPI.h
Go to the documentation of this file.
1
#if defined(_WIN32)
// MSVC and mingw
2
#ifdef COMPILE_ITKFILTER_API
3
#define ITKTEMPLATES_API __declspec(dllexport)
4
#else
5
#define ITKTEMPLATES_API __declspec(dllimport)
6
#endif
7
8
// explicit instantiation when building
9
#ifdef COMPILE_ITKFILTER_API
10
// no extern to suppress MSVC C4910 warning
11
#define ITK_EXPLICIT_TEMPLATE template class ITKTEMPLATES_API
12
#else
13
#define ITK_EXPLICIT_TEMPLATE ITK_EXPLICIT_TEMPLATE
14
#endif
15
16
#else
// for all other platforms ITKTEMPLATES_API is defined to be "nothing"
17
#define ITKTEMPLATES_API
18
// template declaration macro using extern
19
#define ITK_EXPLICIT_TEMPLATE extern template class
20
21
#endif
// MSVC and mingw
imaging
libraries
itktemplates
ItkTemplatesAPI.h
Generated by
1.9.8