Mako 7.3.0 API
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. More...
 
virtual uint32 getProfileColorSpace ()=0
 Get the color space type for this ICC profile. Throws an exception of type IEDLError on failure. More...
 
virtual EDLSysString getProfileName ()=0
 Get the name of this ICC profile. Throws an exception of type IEDLError on failure. More...
 
- Public Member Functions inherited from IDOMResource
virtual IInputStreamPtr getStream () const =0
 Retrieves the resource stream. More...
 
virtual void setStream (const IInputStreamPtr &stream)=0
 Sets the resource stream for the node. More...
 
virtual uint64 getStreamLength () const =0
 Retrieves the stream length, if it is available. More...
 
virtual const EDLSysString & getUri () const =0
 Retrieves the resource URI. More...
 
virtual void setUri (const EDLSysString &uri)=0
 Sets the resource URI. More...
 
- Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () const =0
 Returns class ID of IEDLObject. More...
 
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. More...
 
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject. More...
 
- 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. More...
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to. More...
 
- Public Member Functions inherited from IDOMHashable
virtual ~IDOMHashable ()
 Virtual destructor.
 
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object. More...
 
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails. More...
 

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. More...
 
static const CClassIDclassID ()
 Retrieves class id of IDOM. More...
 

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.

◆ 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

◆ 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: