6 #ifndef INCLUDED_IMF_STANDARD_ATTRIBUTES_H
7 #define INCLUDED_IMF_STANDARD_ATTRIBUTES_H
45 #define IMF_ADD_SUFFIX(suffix) add##suffix
46 #define IMF_HAS_SUFFIX(suffix) has##suffix
47 #define IMF_NAME_ATTRIBUTE(name) name##Attribute
49 #define IMF_STD_ATTRIBUTE_DEF(name, suffix, object) \
51 OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER \
52 IMF_EXPORT void IMF_ADD_SUFFIX (suffix) ( \
53 Header & header, const object& v); \
54 IMF_EXPORT bool IMF_HAS_SUFFIX (suffix) (const Header& header); \
55 IMF_EXPORT const TypedAttribute<object>& IMF_NAME_ATTRIBUTE (name) ( \
56 const Header& header); \
57 IMF_EXPORT TypedAttribute<object>& IMF_NAME_ATTRIBUTE (name) ( \
59 IMF_EXPORT const object& name (const Header& header); \
60 IMF_EXPORT object& name (Header& header); \
61 OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
63 #define IMF_STD_ATTRIBUTE_DEF_DEPRECATED(name, suffix, object, msg) \
65 OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER \
66 OPENEXR_DEPRECATED (msg) \
67 IMF_EXPORT void IMF_ADD_SUFFIX (suffix) ( \
68 Header & header, const object& v); \
69 OPENEXR_DEPRECATED (msg) \
70 IMF_EXPORT bool IMF_HAS_SUFFIX (suffix) (const Header& header); \
71 OPENEXR_DEPRECATED (msg) \
72 IMF_EXPORT const TypedAttribute<object>& IMF_NAME_ATTRIBUTE (name) ( \
73 const Header& header); \
74 OPENEXR_DEPRECATED (msg) \
75 IMF_EXPORT TypedAttribute<object>& IMF_NAME_ATTRIBUTE (name) ( \
77 OPENEXR_DEPRECATED (msg) \
78 IMF_EXPORT const object& name (const Header& header); \
79 OPENEXR_DEPRECATED (msg) IMF_EXPORT object& name (Header& header); \
80 OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
149 sensorOverallDimensions,
168 sensorAcquisitionRectangle,
**But if you need a or simply need to know when the task has note that the like this
GLfloat GLfloat GLfloat GLfloat v3
struct ImfHeader ImfHeader
Box< V2i > Box2i
2D box of base type int.
#define IMF_STD_ATTRIBUTE_DEF(name, suffix, object)
#define IMF_STD_ATTRIBUTE_DEF_DEPRECATED(name, suffix, object, msg)
IMATH_NAMESPACE::V2f DwaCompressionLevel
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER typedef std::vector< std::string > StringVector
OIIO_API bool attribute(string_view name, TypeDesc type, const void *val)