uicore::ImageFileType Class Referenceabstract

Provider type. More...

#include <image_file_type.h>

+ Inheritance diagram for uicore::ImageFileType:

Public Member Functions

 ImageFileType (const std::string &type)
 Registers a provider type in the ImageFile. More...
 
virtual ~ImageFileType ()
 Unregisters a provider type in the ImageFile. More...
 
virtual PixelBufferPtr load (const std::string &filename, bool srgb)=0
 Called to load an image with this provider type. More...
 
virtual PixelBufferPtr load (const IODevicePtr &file, bool srgb)=0
 
virtual void save (PixelBufferPtr buffer, const std::string &filename)=0
 Called to save a given PixelBuffer to a file. More...
 
virtual void save (PixelBufferPtr buffer, const IODevicePtr &file)=0
 

Detailed Description

Provider type.

Constructor & Destructor Documentation

uicore::ImageFileType::ImageFileType ( const std::string type)

Registers a provider type in the ImageFile.

virtual uicore::ImageFileType::~ImageFileType ( )
virtual

Unregisters a provider type in the ImageFile.

Member Function Documentation

virtual PixelBufferPtr uicore::ImageFileType::load ( const std::string filename,
bool  srgb 
)
pure virtual

Called to load an image with this provider type.

Implemented in uicore::ImageFileType_Register< ProviderClass >.

virtual PixelBufferPtr uicore::ImageFileType::load ( const IODevicePtr file,
bool  srgb 
)
pure virtual
virtual void uicore::ImageFileType::save ( PixelBufferPtr  buffer,
const std::string filename 
)
pure virtual

Called to save a given PixelBuffer to a file.

Implemented in uicore::ImageFileType_Register< ProviderClass >.

virtual void uicore::ImageFileType::save ( PixelBufferPtr  buffer,
const IODevicePtr file 
)
pure virtual

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