IDOMICCProfile interface.
More...
#include <idomresources.h>
|
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...
|
|
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...
|
|
virtual const CClassID & | getClassID () 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...
|
|
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...
|
|
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...
|
|
◆ 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
-
pFactory | The class factory. |
stream | The ICC profile stream. |
length | The length of the profile stream. If 0, an attempt will be made to determine the length of the stream. |
uri | The 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
-
majorVersion | Reference to receive the major version. |
minorVersion | Reference to receive the minor version. |
The documentation for this class was generated from the following file: