|
Synergy Color Management Component - SDK -
2018.0.80
|
Callback class for extracting color transform metadata. More...
Public Member Functions | |
| virtual | ~ContentCallbacks () |
| Destructor. More... | |
| virtual void | beginEntry (const char *type)=0 |
| Indicates the beginning of a new list of attributes. Could be that of the transform or of one of the color operators. More... | |
| virtual void | endEntry ()=0 |
| Indicates the end of an attribute list/. More... | |
| virtual void | haveAttribute (const char *tag, const char *value, bool isDynamic)=0 |
| Provides an attribute/value pair of metadata information. More... | |
Callback class for extracting color transform metadata.
This class needs to be implemented to obtain metadata via Transform::extractContent(). Metadata content extraction begins with the metadata list of the transform proper first, followed by the metadata list of each color operator in order.
The result is a list of metadata entries with sublists for each operator. The callback calling sequence is as follows:
beginEntry("Transform")
haveAttribute("Transform attribute tag 1", "Transform attribute value 1", false)
haveAttribute("Transform attribute tag 2", "Transform attribute value 2", false)
...
beginEntry("Operator 1")
haveAttribute("Operator 1 attribute tag 1", "Operator 1 attribute value 1", false)
...
endEntry()
beginEntry("Operator 2")
haveAttribute("Operator 2 attribute tag 1", "Operator 2 attribute value 1", false)
...
endEntry()
...
endEntry()
|
virtual |
Destructor.
|
pure virtual |
Indicates the beginning of a new list of attributes. Could be that of the transform or of one of the color operators.
| type | String expressing the type of list. |
|
pure virtual |
Indicates the end of an attribute list/.
|
pure virtual |
Provides an attribute/value pair of metadata information.
| tag | Attribute name. |
| value | Attribute value. |
| isDynamic | Attribute is dynamic. |