OpenRaw::Internals::CRWFile Class Reference

Inheritance diagram for OpenRaw::Internals::CRWFile:

OpenRaw::RawFile List of all members.

Public Member Functions

 CRWFile (const char *_filename)
virtual ~CRWFile ()

Static Public Member Functions

static RawFilefactory (const char *_filename)

Protected Member Functions

virtual ::or_error _enumThumbnailSizes (std::vector< uint32_t > &list)
virtual ::or_error _getThumbnail (uint32_t size, Thumbnail &thumbnail)

Detailed Description

Definition at line 42 of file crwfile.h.


Member Function Documentation

or_error OpenRaw::Internals::CRWFile::_enumThumbnailSizes ( std::vector< uint32_t > &  list  )  [protected, virtual]

enumerate the thumbnail sizes.

Parameters:
list the list to enumerate into
Returns:
OR_ERROR_NONE if success

Implements OpenRaw::RawFile.

Definition at line 62 of file crwfile.cpp.

References OpenRaw::Internals::CIFFContainer::heap(), and OpenRaw::Internals::CIFF::TAGCODE_MASK.

or_error OpenRaw::Internals::CRWFile::_getThumbnail ( uint32_t  size,
Thumbnail thumbnail 
) [protected, virtual]

get the thumbnail of exact size.

Parameters:
size the size in pixel of the square
Return values:
thumbnail the thumbnail to load
Returns:
OR_ERROR_NONE if success listThumbnailSizes() to understand how to fetch the sizes available

Implements OpenRaw::RawFile.

Definition at line 91 of file crwfile.cpp.

References OpenRaw::Thumbnail::allocData(), OpenRaw::Internals::CIFFContainer::heap(), OpenRaw::Thumbnail::setDataType(), OpenRaw::Thumbnail::setDimensions(), and OpenRaw::Internals::CIFF::TAGCODE_MASK.


The documentation for this class was generated from the following files:
Generated on Sat Jan 27 11:36:13 2007 for libopenraw by  doxygen 1.4.7