CSIILJPGFileDriver Class Reference

JPG file loader class. More...

#include <SIILJPGFileDriver.h>

Inheritance diagram for CSIILJPGFileDriver:

CSIBCPixMapDriver List of all members.

Public Member Functions

  CSIILJPGFileDriver ()
virtual  ~CSIILJPGFileDriver ()
virtual SI_Bool  Supported (CSIBCString &in_Filename)
virtual SI_Error  Load (CSIBCString &in_filename, CSIBCPixMap &in_PixMap)

Static Public Member Functions

static CSIILJPGFileDriver Driver ()

Detailed Description

JPG file loader class.


Constructor & Destructor Documentation

CSIILJPGFileDriver (  ) 

Constructor

virtual ~CSIILJPGFileDriver (  )  [virtual]

Destructor


Member Function Documentation

virtual SI_Bool Supported ( CSIBCString in_Filename  )  [virtual]

Returns whether the extension in the specified filename is supported by this driver

Parameters:
in_Filename  file name to check
Returns:
TRUE if this file is supported

FALSE otherwise

Implements CSIBCPixMapDriver.

virtual SI_Error Load ( CSIBCString in_filename,
CSIBCPixMap &  in_PixMap  
) [virtual]

Loads a JPEG Interchange Format file into a CSIBCPixMap object

Parameters:
in_filename  JPG file name
in_PixMap  CSIBCPixMap object to load the file into
Returns:
SI_Error::SI_SUCCESS loading has been succesful

SI_Error::SI_ERR_ERROR_MSG loading has failed

SI_Error::SI_FILE_NOT_FOUND the file has not been found

Implements CSIBCPixMapDriver.

static CSIILJPGFileDriver* Driver (  )  [static]

Returns the global JPG loader instance

Returns:
instance of loader


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