| 1 | // |
|---|---|
| 2 | // SPDX-License-Identifier: BSD-3-Clause |
| 3 | // Copyright (c) Weta Digital, Ltd and Contributors to the OpenEXR Project. |
| 4 | // |
| 5 | |
| 6 | |
| 7 | |
| 8 | #ifndef INCLUDED_IMF_STRINGVECTOR_ATTRIBUTE_H |
| 9 | #define INCLUDED_IMF_STRINGVECTOR_ATTRIBUTE_H |
| 10 | |
| 11 | //----------------------------------------------------------------------------- |
| 12 | // |
| 13 | // class StringVectorAttribute |
| 14 | // |
| 15 | //----------------------------------------------------------------------------- |
| 16 | |
| 17 | #include "ImfExport.h" |
| 18 | #include "ImfNamespace.h" |
| 19 | |
| 20 | #include "ImfAttribute.h" |
| 21 | |
| 22 | #include <string> |
| 23 | #include <vector> |
| 24 | |
| 25 | |
| 26 | OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER |
| 27 | |
| 28 | typedef std::vector<std::string> StringVector; |
| 29 | typedef TypedAttribute<OPENEXR_IMF_INTERNAL_NAMESPACE::StringVector> StringVectorAttribute; |
| 30 | |
| 31 | #ifndef COMPILING_IMF_STRING_VECTOR_ATTRIBUTE |
| 32 | extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<OPENEXR_IMF_INTERNAL_NAMESPACE::StringVector>; |
| 33 | #endif |
| 34 | |
| 35 | |
| 36 | OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT |
| 37 | |
| 38 | #endif |
| 39 |
