| 1 | // |
|---|---|
| 2 | // SPDX-License-Identifier: BSD-3-Clause |
| 3 | // Copyright (c) Contributors to the OpenEXR Project. |
| 4 | // |
| 5 | |
| 6 | |
| 7 | #ifndef INCLUDED_IMF_BOX_ATTRIBUTE_H |
| 8 | #define INCLUDED_IMF_BOX_ATTRIBUTE_H |
| 9 | |
| 10 | //----------------------------------------------------------------------------- |
| 11 | // |
| 12 | // class Box2iAttribute |
| 13 | // class Box2fAttribute |
| 14 | // |
| 15 | //----------------------------------------------------------------------------- |
| 16 | |
| 17 | #include "ImfExport.h" |
| 18 | #include "ImfNamespace.h" |
| 19 | |
| 20 | #include "ImfAttribute.h" |
| 21 | #include <ImathBox.h> |
| 22 | |
| 23 | OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER |
| 24 | |
| 25 | using Box2iAttribute = TypedAttribute<IMATH_NAMESPACE::Box2i>; |
| 26 | using Box2fAttribute = TypedAttribute<IMATH_NAMESPACE::Box2f>; |
| 27 | |
| 28 | #ifndef COMPILING_IMF_BOX_ATTRIBUTE |
| 29 | extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<IMATH_NAMESPACE::Box2i>; |
| 30 | extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<IMATH_NAMESPACE::Box2f>; |
| 31 | #endif |
| 32 | |
| 33 | OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT |
| 34 | |
| 35 | #endif |
| 36 |
