11#ifndef __IDOMRESOURCES_H__
12#define __IDOMRESOURCES_H__
44 virtual void setStream(
const IInputStreamPtr &stream) = 0;
67#define edlobj2IDOMResource(src) edl_cast((IDOMResource *)NULL, src)
80#define IDOMICCProfileClassID 0xcf1b9ba2, 0x237a4d37, 0x8b5e3b59, 0x68b7cfca
124 %apply uint8_t &OUTPUT {
uint8 &majorVersion };
125 %apply uint8_t &OUTPUT {
uint8 &minorVersion };
135 %clear
uint8 &majorVersion;
136 %clear
uint8 &minorVersion;
181#define edlobj2IDOMICCProfile(src) edl_cast((IDOMICCProfile *)NULL, src)
190#define IDOMPrintTicketClassID 0xe05c10f8, 0xad9f4eec, 0x839a1ad6, 0xed5d73b9
220#define edlobj2IDOMPrintTicket(src) edl_cast((IDOMPrintTicket *)NULL, src)
230#define IDOMAudioFileClassID 0x50f160ca, 0xa6ff41c8, 0xabf99ec0, 0xafac3702
272#define edlobj2IDOMAudioFile(src) edl_cast((IDOMAudioFile *)NULL, src)
282#define IDOMRawDataFileClassID 0x562734ed, 0x40d64549, 0x8df0e51c, 0xef677cba
318#define edlobj2IDOMRawDataFile(src) edl_cast((IDOMRawDataFile *)NULL, src)
331#define IDOMResourceDictionaryClassID 0x8dac1ddf, 0x84c34ec8, 0x83e40e64, 0x0830d186
375#define edlobj2IDOMResourceDictionary(src) edl_cast((IDOMResourceDictionary *)NULL, src)
385#define IDOMMatrixClassID 0x635ea123, 0x1c5d4e35, 0xb174a419, 0x0deb4eab
422#define edlobj2IDOMMatrix(src) edl_cast((IDOMMatrix *)NULL, src)
An object to represent a 128-bit globally unique ID.
Definition objclassid.h:29
EDL Object Interface.
Definition iedlobject.h:31
uint32 bitsPerChannel
Definition idomresources.h:256
uint64 streamLength
Definition idomresources.h:251
bool doGenerateHeader
Definition idomresources.h:257
IInputStreamPtr stream
Definition idomresources.h:250
uint32 channelCount
Definition idomresources.h:255
EDLSysString uri
Definition idomresources.h:249
uint32 sampleRate
Definition idomresources.h:254
eAudioFormat format
Definition idomresources.h:253
Data()
Definition idomresources.h:242
IDOMAudioFile interface.
Definition idomresources.h:229
eAudioFormat
Definition idomresources.h:233
@ eAudioFormatWavMulaw
Definition idomresources.h:233
@ eAudioFormatWavRaw
Definition idomresources.h:233
@ eAudioFormatWavPCM
Definition idomresources.h:233
@ eAudioFormatUnknown
Definition idomresources.h:233
@ eAudioFormatWavALaw
Definition idomresources.h:233
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idomresources.h:264
Abstract interface for objects that can be hashed.
Definition idomhashable.h:28
EDLSysString uri
Definition idomresources.h:107
IInputStreamPtr stream
Definition idomresources.h:108
Data()
Definition idomresources.h:105
int32 numComponents
Definition idomresources.h:110
uint64 streamLength
Definition idomresources.h:109
IDOMICCProfile interface.
Definition idomresources.h:79
virtual uint32 getProfileColorSpace()=0
Get the color space type for this ICC profile. Throws an exception of type IEDLError on failure.
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.
virtual uint32 getProfileConnectionSpace()=0
Get the profile connection space (PCS) type for this ICC profile. For device link profiles this will ...
virtual uint32 getProfileClass()=0
Get the profile class for this ICC profile. Throws an exception of type IEDLError on failure.
virtual void getProfileVersion(uint8 &majorVersion, uint8 &minorVersion)=0
Get the ICC profile version. Throws an exception of type IEDLError on failure.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idomresources.h:117
virtual ~IDOMICCProfile()
Definition idomresources.h:83
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 pr...
virtual EDLSysString getProfileName()=0
Get the name of this ICC profile. Throws an exception of type IEDLError on failure.
Initialization data.
Definition idomresources.h:392
FMatrix renderTransform
Definition idomresources.h:394
Defines the render transform matrix.
Definition idomresources.h:384
virtual const FMatrix & getRenderTransform() const =0
Retrieves the render transform matrix.
virtual void setRenderTransform(const FMatrix &matrix)=0
Sets the render transform matrix.
static const CClassID & classID()
Retrieves the class id of IDOMMatrix.
Definition idomresources.h:401
uint64 streamLength
Definition idomresources.h:204
EDLSysString uri
Definition idomresources.h:202
IInputStreamPtr stream
Definition idomresources.h:203
Data()
Definition idomresources.h:200
IDOMPrintTicket interface.
Definition idomresources.h:189
static const CClassID & classID()
Retrieves the class id of IDOMPrintTicket.
Definition idomresources.h:211
uint64 streamLength
Definition idomresources.h:296
IInputStreamPtr stream
Definition idomresources.h:295
EDLSysString uri
Definition idomresources.h:294
Data()
Definition idomresources.h:292
EDLSysString mimeType
Definition idomresources.h:297
IDOMRawDataFile interface.
Definition idomresources.h:281
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idomresources.h:304
virtual const EDLSysString & getMimeType() const =0
Get the mime type of this raw data file.
Data()
Definition idomresources.h:341
uint64 streamLength
Definition idomresources.h:345
IInputStreamPtr stream
Definition idomresources.h:344
EDLSysString uri
Definition idomresources.h:343
Interface to the EDL DOM's resource dictionary. The resource dictionary is a document resource that i...
Definition idomresources.h:330
virtual IEDLObjectPtr get(const EDLSysString &name) const =0
Retrieves a smart pointer to a resource stored in the resource dictionary.
static const CClassID & classID()
Retrieves the class id of IDOMResourceDictionary.
Definition idomresources.h:352
virtual void put(const EDLSysString &name, const IEDLObjectPtr &element)=0
Registers a resource element in the resource dictionary.
Provides an interface to an EDL DOM node representing a generalised resource. A resource represents n...
Definition idomresources.h:31
virtual const EDLSysString & getUri() const =0
Retrieves the resource URI.
virtual uint64 getStreamLength() const =0
Retrieves the stream length, if it is available.
virtual void setStream(const IInputStreamPtr &stream)=0
Sets the resource stream for the node.
virtual IInputStreamPtr getStream() const =0
Retrieves the resource stream.
virtual void setUri(const EDLSysString &uri)=0
Sets the resource URI.
EDL Factory Interface allows one part of the EDL infrastructure to register class creation methods id...
Definition iedlfactory.h:31
IEDLObject is an abstract base class that is used by all classes that are intended to be created via ...
Definition iedlobject.h:53
CTransformMatrix< double > FMatrix
Definition edlgeom.h:1208
#define _END_EDL_DOM_NAMESPACE
Definition edlnamespaces.h:110
#define _BEGIN_EDL_DOM_NAMESPACE
Definition edlnamespaces.h:109
std::string EDLSysString
Definition edlstring.h:158
EDL "standard" types including known bit-length signed and unsigned integer type[def]s and definition...
unsigned int uint32
Definition edltypes.h:34
#define EDL_API
Definition edltypes.h:86
unsigned long long uint64
Definition edltypes.h:35
signed int int32
Definition edltypes.h:29
unsigned char uint8
Definition edltypes.h:32
eRenderingIntent
Rendering intent enumeration.
Definition edlrenderingintent.h:17
#define IDOMMatrixClassID
Definition idomresources.h:385
#define IDOMICCProfileClassID
Definition idomresources.h:80
#define IDOMPrintTicketClassID
Definition idomresources.h:190
#define IDOMResourceDictionaryClassID
Definition idomresources.h:331
#define IDOMRawDataFileClassID
Definition idomresources.h:282
#define IDOMAudioFileClassID
Definition idomresources.h:230
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211