ClanLib  2.3.7
List of all members
CL_ImageProviderType Class Referenceabstract

Provider type. More...

#include <provider_type.h>

Inheritance diagram for CL_ImageProviderType:
Inheritance graph
[legend]

Public Member Functions

Construction
 CL_ImageProviderType (const CL_String &type)
 Registers a provider type in the CL_ImageProviderFactory. More...
 
virtual ~CL_ImageProviderType ()
 Unregisters a provider type in the CL_ImageProviderFactory. More...
 
Operations
virtual CL_PixelBuffer load (const CL_String &filename, const CL_VirtualDirectory &directory)=0
 Called to load an image with this provider type. More...
 
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. More...
 
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)

Registers a provider type in the CL_ImageProviderFactory.

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: