/src/openexr/src/lib/OpenEXR/ImfIntAttribute.cpp
Line | Count | Source |
1 | | // |
2 | | // SPDX-License-Identifier: BSD-3-Clause |
3 | | // Copyright (c) Contributors to the OpenEXR Project. |
4 | | // |
5 | | |
6 | | //----------------------------------------------------------------------------- |
7 | | // |
8 | | // class IntAttribute |
9 | | // |
10 | | //----------------------------------------------------------------------------- |
11 | | |
12 | | #define COMPILING_IMF_INT_ATTRIBUTE |
13 | | #include "ImfIntAttribute.h" |
14 | | |
15 | | #if defined(_MSC_VER) |
16 | | // suppress warning about non-exported base classes |
17 | | # pragma warning(disable : 4251) |
18 | | # pragma warning(disable : 4275) |
19 | | #endif |
20 | | |
21 | | OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER |
22 | | |
23 | | //#if defined(__MINGW32__) |
24 | | //template <> |
25 | | //IMF_EXPORT |
26 | | //TypedAttribute<int>::~TypedAttribute () |
27 | | //{ |
28 | | //} |
29 | | //#endif |
30 | | |
31 | | template <> |
32 | | IMF_EXPORT const char* |
33 | | IntAttribute::staticTypeName () |
34 | 3 | { |
35 | 3 | return "int"; |
36 | 3 | } |
37 | | |
38 | | template class IMF_EXPORT_TEMPLATE_INSTANCE TypedAttribute<int>; |
39 | | |
40 | | OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_EXIT |