libopenraw
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenRaw::Internals::Decompressor Class Referenceabstract
Inheritance diagram for OpenRaw::Internals::Decompressor:
OpenRaw::Internals::CrwDecompressor OpenRaw::Internals::LJpegDecompressor

Public Member Functions

 Decompressor (IO::Stream *stream, RawContainer *container)
 
virtual RawDatadecompress (RawData *in=NULL)=0
 

Protected Member Functions

 Decompressor (const Decompressor &f)
 
Decompressoroperator= (const Decompressor &)
 

Protected Attributes

IO::Streamm_stream
 
RawContainerm_container
 

Detailed Description

Definition at line 41 of file decompressor.h.

Constructor & Destructor Documentation

OpenRaw::Internals::Decompressor::Decompressor ( const Decompressor f)
protected

private copy constructor to make sure it is not called

Member Function Documentation

virtual RawData* OpenRaw::Internals::Decompressor::decompress ( RawData in = NULL)
pure virtual

decompress the bitmapdata and return a new bitmap

Parameters
ina preallocated BitmapData instance or NULL if decompress has to allocate it.
Returns
the new bitmap decompressed. NULL is failure. Caller owns it.
Todo:
use a shared_ptr here, or something

Implemented in OpenRaw::Internals::LJpegDecompressor, and OpenRaw::Internals::CrwDecompressor.

Decompressor& OpenRaw::Internals::Decompressor::operator= ( const Decompressor )
protected

private = operator to make sure it is never called


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