dmILoader Class Reference

Daim loader base interface. More...

#include <CCI_Loader.h>

Inherits dmINotify.

List of all members.

Public Member Functions

bool IsSupportedFormat (EPixelFormat pixelformat)
bool SetStringList (cci_object *stringlist)
bool GetMimeTypes (cci_object *stringlist, dm_uint flags)
bool GetImageInfo (cci_object *inputStream, dm_uint flags, EPixelFormat &format, dm_uint &index, dm_uint &count, dm_uint &width, dm_uint &height, cci_object *properties=dm_null, dm_param key=0)
bool SetImageInfo (cci_object *outputStream, dm_uint flags, EPixelFormat format, dm_uint index, dm_uint count, dm_uint width, dm_uint height, cci_object *properties=dm_null, dm_param key=0)
bool GetImageData (dmImageData &data)
bool SetImageData (const dmImageData &data)
bool Close ()
bool Initialize (cci_object *properties, const char_t *mime, dm_uint ioflags)
bool HasStreamSupport ()


Detailed Description

Daim loader base interface.

Base interface for all daim loader implementations


Member Function Documentation

bool dmILoader::Close  )  [inline]
 

Close loader and free resources

bool dmILoader::GetImageData dmImageData data  )  [inline]
 

Get Image data from buffer Informations about image size and format should have been obtained from the GetImageInfo() method and a dmImageData must hold valid memory pointer and data /note It is the responsability of the Loader to map the data onto the specified buffer: i.e 1 bit wide pixel will be mapped onto 8 bits buffer pixels

bool dmILoader::GetImageInfo cci_object *  inputStream,
dm_uint  flags,
EPixelFormat format,
dm_uint &  index,
dm_uint &  count,
dm_uint &  width,
dm_uint &  height,
cci_object *  properties = dm_null,
dm_param  key = 0
[inline]
 

Get Image informations - must be call before calling GetImageData()

bool dmILoader::GetMimeTypes cci_object *  stringlist,
dm_uint  flags
[inline]
 

Return the list of all mime types handled by this loader

bool dmILoader::HasStreamSupport  )  [inline]
 

Return true if the loader can support generic io stream. If not, the component should use only file I/O streams

bool dmILoader::Initialize cci_object *  properties,
const char_t *  mime,
dm_uint  ioflags
[inline]
 

Set Image data to buffer Informations about image size and format should have been set with the SetImageInfo() method and a dmImageData must hold valid memory pointer and data

bool dmILoader::IsSupportedFormat EPixelFormat  pixelformat  )  [inline]
 

Return true if this image format is supported (natively ?) by the loader

bool dmILoader::SetImageData const dmImageData data  )  [inline]
 

Set Image data to buffer Informations about image size and format should have been set with the SetImageInfo() method and a dmImageData must hold valid memory pointer and data

bool dmILoader::SetImageInfo cci_object *  outputStream,
dm_uint  flags,
EPixelFormat  format,
dm_uint  index,
dm_uint  count,
dm_uint  width,
dm_uint  height,
cci_object *  properties = dm_null,
dm_param  key = 0
[inline]
 

Set Image informations prior to call SetImageData()

bool dmILoader::SetStringList cci_object *  stringlist  )  [inline]
 

Set the stringlist in which meta informations will be stored/retrieved


Generated on Tue May 9 12:34:57 2006 for Daim Library Module Set by  doxygen 1.4.6-NO