ImfStringAttribute.h 749 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Copyright (c) Contributors to the OpenEXR Project.
  4. //
  5. #ifndef INCLUDED_IMF_STRING_ATTRIBUTE_H
  6. #define INCLUDED_IMF_STRING_ATTRIBUTE_H
  7. //-----------------------------------------------------------------------------
  8. //
  9. // class StringAttribute
  10. //
  11. //-----------------------------------------------------------------------------
  12. #include "ImfExport.h"
  13. #include "ImfNamespace.h"
  14. #include "ImfAttribute.h"
  15. #include <string>
  16. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  17. typedef TypedAttribute<std::string> StringAttribute;
  18. #ifndef COMPILING_IMF_STRING_ATTRIBUTE
  19. extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<std::string>;
  20. #endif
  21. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
  22. #endif