CL_ImageProviderType Class Reference
[clanDisplay Image Providers]

Provider type. More...

#include <provider_type.h>

Inheritance diagram for CL_ImageProviderType:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Construction

 CL_ImageProviderType (const CL_String &type)
 Registers a provider type in the CL_ImageProviderFactory.
virtual ~CL_ImageProviderType ()
 Unregisters a provider type in the CL_ImageProviderFactory.
Operations

virtual CL_PixelBuffer load (const CL_String &filename, const CL_VirtualDirectory &directory)=0
 Called to load an image with this provider type.
virtual CL_PixelBuffer load (CL_IODevice &file)=0
virtual void save (CL_PixelBuffer buffer, const CL_String &filename, CL_VirtualDirectory &directory)=0
 Called to save a given PixelBuffer to a file.
virtual void save (CL_PixelBuffer buffer, CL_IODevice &file)=0

Detailed Description

Provider type.


Constructor & Destructor Documentation

CL_ImageProviderType::CL_ImageProviderType ( const CL_String type  ) 
virtual CL_ImageProviderType::~CL_ImageProviderType (  )  [virtual]

Unregisters a provider type in the CL_ImageProviderFactory.


Member Function Documentation

virtual CL_PixelBuffer CL_ImageProviderType::load ( const CL_String filename,
const CL_VirtualDirectory directory 
) [pure virtual]

Called to load an image with this provider type.

Implemented in CL_ProviderType_Register< ProviderClass >.

virtual CL_PixelBuffer CL_ImageProviderType::load ( CL_IODevice file  )  [pure virtual]
virtual void CL_ImageProviderType::save ( CL_PixelBuffer  buffer,
const CL_String filename,
CL_VirtualDirectory directory 
) [pure virtual]

Called to save a given PixelBuffer to a file.

Implemented in CL_ProviderType_Register< ProviderClass >.

virtual void CL_ImageProviderType::save ( CL_PixelBuffer  buffer,
CL_IODevice file 
) [pure virtual]

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