ImfFloatVectorAttribute.h 879 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Copyright (c) Weta Digital, Ltd and Contributors to the OpenEXR Project.
  4. //
  5. #ifndef INCLUDED_IMF_FLOATVECTOR_ATTRIBUTE_H
  6. #define INCLUDED_IMF_FLOATVECTOR_ATTRIBUTE_H
  7. //-----------------------------------------------------------------------------
  8. //
  9. // class FloatVectorAttribute
  10. //
  11. //-----------------------------------------------------------------------------
  12. #include "ImfExport.h"
  13. #include "ImfNamespace.h"
  14. #include "ImfAttribute.h"
  15. #include <vector>
  16. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  17. typedef std::vector<float>
  18. FloatVector;
  19. typedef TypedAttribute<OPENEXR_IMF_INTERNAL_NAMESPACE::FloatVector>
  20. FloatVectorAttribute;
  21. #ifndef COMPILING_IMF_FLOAT_VECTOR_ATTRIBUTE
  22. extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<FloatVector>;
  23. #endif
  24. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
  25. #endif