Mako 7.5.0 API
Loading...
Searching...
No Matches
IDOMICCProfile Class Referenceabstract

IDOMICCProfile interface. More...

#include <idomresources.h>

Inheritance diagram for IDOMICCProfile:

Classes

class  Data
 Initialization data. More...
 

Public Member Functions

virtual void getProfileVersion (uint8 &majorVersion, uint8 &minorVersion)=0
 Get the ICC profile version. Throws an exception of type IEDLError on failure.
 
virtual uint32 getProfileClass ()=0
 Get the profile class for this ICC profile. Throws an exception of type IEDLError on failure.
 
virtual uint32 getProfileColorSpace ()=0
 Get the color space type for this ICC profile. Throws an exception of type IEDLError on failure.
 
virtual uint32 getProfileConnectionSpace ()=0
 Get the profile connection space (PCS) type for this ICC profile. For device link profiles this will be the canonical output space. Throws an exception of type IEDLError on failure.
 
virtual bool getProfileHasSupportForIntent (eRenderingIntent intent, bool input)=0
 Determine if the profile has support for the given intent for the given usage. Matrix shaper style profiles support every intent. LUT-based profiles may have explicit support for some intents. Throws an exception of type IEDLError on failure.
 
virtual EDLSysString getProfileName ()=0
 Get the name of this ICC profile. Throws an exception of type IEDLError on failure.
 
- Public Member Functions inherited from IDOMResource
virtual IInputStreamPtr getStream () const =0
 Retrieves the resource stream.
 
virtual void setStream (const IInputStreamPtr &stream)=0
 Sets the resource stream for the node.
 
virtual uint64 getStreamLength () const =0
 Retrieves the stream length, if it is available.
 
virtual const EDLSysString & getUri () const =0
 Retrieves the resource URI.
 
virtual void setUri (const EDLSysString &uri)=0
 Sets the resource URI.
 
- Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () const =0
 Returns class ID of IEDLObject.
 
virtual bool init (CClassParams *pData)
 The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
 
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject.
 
- Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
 
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to.
 
- Public Member Functions inherited from IDOMHashable
virtual ~IDOMHashable ()
 Virtual destructor.
 
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object.
 
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails.
 

Static Public Member Functions

static EDL_API IDOMICCProfilePtr create (IEDLClassFactory *pFactory, const IInputStreamPtr &stream, uint32 length=0, const EDLSysString &uri=EDLSysString())
 Creation function for an IDOMICCProfile Throws an IEDLError exception on failure.
 
static const CClassIDclassID ()
 Retrieves class id of IDOM.
 

Additional Inherited Members

- Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.
 

Detailed Description

IDOMICCProfile interface.

Member Function Documentation

◆ classID()

static const CClassID & IDOMICCProfile::classID ( )
inlinestatic

Retrieves class id of IDOM.

Returns
CClassID Class id of the element

◆ create()

static EDL_API IDOMICCProfilePtr IDOMICCProfile::create ( IEDLClassFactory * pFactory,
const IInputStreamPtr & stream,
uint32 length = 0,
const EDLSysString & uri = EDLSysString() )
static

Creation function for an IDOMICCProfile Throws an IEDLError exception on failure.

Parameters
pFactoryThe class factory.
streamThe ICC profile stream.
lengthThe length of the profile stream. If 0, an attempt will be made to determine the length of the stream.
uriThe URI that should be associated with this profile, if required.
Returns
IDOMICCProfilePtr The new profile.

◆ getProfileClass()

virtual uint32 IDOMICCProfile::getProfileClass ( )
pure virtual

Get the profile class for this ICC profile. Throws an exception of type IEDLError on failure.

Returns
uint32 The ICC profile signature, using the enumeration as per the ICC specification.

◆ getProfileColorSpace()

virtual uint32 IDOMICCProfile::getProfileColorSpace ( )
pure virtual

Get the color space type for this ICC profile. Throws an exception of type IEDLError on failure.

Returns
uint32 The ICC color space signature, using the enumeration as per the ICC specification.

◆ getProfileConnectionSpace()

virtual uint32 IDOMICCProfile::getProfileConnectionSpace ( )
pure virtual

Get the profile connection space (PCS) type for this ICC profile. For device link profiles this will be the canonical output space. Throws an exception of type IEDLError on failure.

Returns
uint32 The ICC PCS color space signature, using the enumeration as per the ICC specification.

◆ getProfileHasSupportForIntent()

virtual bool IDOMICCProfile::getProfileHasSupportForIntent ( eRenderingIntent intent,
bool input )
pure virtual

Determine if the profile has support for the given intent for the given usage. Matrix shaper style profiles support every intent. LUT-based profiles may have explicit support for some intents. Throws an exception of type IEDLError on failure.

Parameters
intentThe intent to query.
inputSet to true if querying for use as an input, false if querying for use as an output.
Returns
bool True if the given intent is supported by the profile for the given direction.

◆ getProfileName()

virtual EDLSysString IDOMICCProfile::getProfileName ( )
pure virtual

Get the name of this ICC profile. Throws an exception of type IEDLError on failure.

Returns
EDLSyString The profile name

◆ getProfileVersion()

virtual void IDOMICCProfile::getProfileVersion ( uint8 & majorVersion,
uint8 & minorVersion )
pure virtual

Get the ICC profile version. Throws an exception of type IEDLError on failure.

Parameters
majorVersionReference to receive the major version.
minorVersionReference to receive the minor version.

The documentation for this class was generated from the following file: