Synergy Color Management Component - SDK -  2018.0.80
SYNCOLOR::ColorSpacesAttributes Class Referenceabstract

Color spaces attributes class. More...

Public Member Functions

virtual ~ColorSpacesAttributes ()
 Default Destructor. More...
 
virtual unsigned getNumColorSpaces () const =0
 Number of color spaces. More...
 
virtual const char * getAttributeForKeyByIndex (const unsigned index, ColorSpaceAttributeKey key) const =0
 I-th color space attribute for key. More...
 
virtual const char * getAttributeForKeyByName (const char *name, ColorSpaceAttributeKey key) const =0
 Get attribute key value for color space name. More...
 

Detailed Description

Color spaces attributes class.

A list of color spaces and their attributes.

Constructor & Destructor Documentation

virtual SYNCOLOR::ColorSpacesAttributes::~ColorSpacesAttributes ( )
virtual

Default Destructor.

Member Function Documentation

virtual unsigned SYNCOLOR::ColorSpacesAttributes::getNumColorSpaces ( ) const
pure virtual

Number of color spaces.

Returns
Number of color spaces.
virtual const char* SYNCOLOR::ColorSpacesAttributes::getAttributeForKeyByIndex ( const unsigned  index,
ColorSpaceAttributeKey  key 
) const
pure virtual

I-th color space attribute for key.

Parameters
indexColor space index.
keyAttribute key.
Returns
Attribute value for the specified key of the color space at index, or NULL if the index is out of bounds. This string should not be deleted.
virtual const char* SYNCOLOR::ColorSpacesAttributes::getAttributeForKeyByName ( const char *  name,
ColorSpaceAttributeKey  key 
) const
pure virtual

Get attribute key value for color space name.

Parameters
nameColor space name.
keyAttribute key.
Returns
Attribute value for the specified key of the color space with specified name, or NULL if the name is not found. This string should not be deleted.