cpe::io_image Class Referenceabstract
+ Inheritance diagram for cpe::io_image:

Public Member Functions

virtual image read (const std::string &filename) const =0
 Read interface: Read a file and return an image.
 
virtual void write (const image &im, const std::string &filename) const =0
 Write interface: Write an image into the pointed file.
 
virtual ~io_image ()
 virtual destructor
 

Detailed Description

Input/Output class for image manipulation Generic class with read/write interface needed to be specialised in specific format

Constructor & Destructor Documentation

cpe::io_image::~io_image ( )
virtual

virtual destructor

Member Function Documentation

virtual image cpe::io_image::read ( const std::string &  filename) const
pure virtual

Read interface: Read a file and return an image.

Implemented in cpe::io_jpeg, and cpe::io_png.

virtual void cpe::io_image::write ( const image im,
const std::string &  filename 
) const
pure virtual

Write interface: Write an image into the pointed file.

Implemented in cpe::io_jpeg, and cpe::io_png.


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