CL_ProviderType_Register< ProviderClass > Class Template Reference
[clanDisplay Image Providers]

Class template to register a provider type. More...

#include <provider_type_register.h>

Inheritance diagram for CL_ProviderType_Register< ProviderClass >:

CL_ImageProviderType List of all members.

Public Member Functions

Construction
 CL_ProviderType_Register (const CL_String &type)
 Registers provider type in the CL_ProviderFactory.
Operations
virtual CL_PixelBuffer load (const CL_String &filename, const CL_VirtualDirectory &directory)
 Called to load an image with this provider type.
virtual CL_PixelBuffer load (CL_IODevice &file)
virtual void save (CL_PixelBuffer buffer, const CL_String &filename, CL_VirtualDirectory &directory)
 Called to save a given PixelBuffer to a file.
virtual void save (CL_PixelBuffer buffer, CL_IODevice &file)

Detailed Description

template<class ProviderClass>
class CL_ProviderType_Register< ProviderClass >

Class template to register a provider type.


Constructor & Destructor Documentation

template<class ProviderClass>
CL_ProviderType_Register< ProviderClass >::CL_ProviderType_Register const CL_String type  )  [inline]
 

Registers provider type in the CL_ProviderFactory.


Member Function Documentation

template<class ProviderClass>
virtual CL_PixelBuffer CL_ProviderType_Register< ProviderClass >::load CL_IODevice file  )  [inline, virtual]
 

Implements CL_ImageProviderType.

template<class ProviderClass>
virtual CL_PixelBuffer CL_ProviderType_Register< ProviderClass >::load const CL_String filename,
const CL_VirtualDirectory directory
[inline, virtual]
 

Called to load an image with this provider type.

Implements CL_ImageProviderType.

template<class ProviderClass>
virtual void CL_ProviderType_Register< ProviderClass >::save CL_PixelBuffer  buffer,
CL_IODevice file
[inline, virtual]
 

Implements CL_ImageProviderType.

template<class ProviderClass>
virtual void CL_ProviderType_Register< ProviderClass >::save CL_PixelBuffer  buffer,
const CL_String filename,
CL_VirtualDirectory directory
[inline, virtual]
 

Called to save a given PixelBuffer to a file.

Implements CL_ImageProviderType.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6