OpenRaw::Internals::Decompressor Class Reference

Inheritance diagram for OpenRaw::Internals::Decompressor:
OpenRaw::Internals::CrwDecompressor OpenRaw::Internals::LJpegDecompressor

List of all members.

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:
in a 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::CrwDecompressor, and OpenRaw::Internals::LJpegDecompressor.

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:

Generated by  doxygen 1.6.2