OpenRaw::Internals::IFDFile Class Reference

generic IFD based raw file. More...

#include <ifdfile.h>

Inheritance diagram for OpenRaw::Internals::IFDFile:

OpenRaw::RawFile OpenRaw::Internals::ARWFile OpenRaw::Internals::CR2File OpenRaw::Internals::DNGFile OpenRaw::Internals::NEFFile OpenRaw::Internals::ORFFile OpenRaw::Internals::PEFFile List of all members.

Protected Types

typedef std::map< uint32_t,

Protected Member Functions

 IFDFile (const char *_filename, Type _type)
virtual ~IFDFile ()
virtual ::or_error _enumThumbnailSizes (std::vector< uint32_t > &list)
virtual ::or_error _locateThumbnail (const IFDDir::Ref &dir, std::vector< uint32_t > &list)

Protected Attributes

ThumbLocations m_thumbLocations

Detailed Description

generic IFD based raw file.

Definition at line 62 of file ifdfile.h.

Member Function Documentation

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

list the thumbnails in the IFD

Return values:
list the list of thumbnails
the error code. OR_ERROR_NOT_FOUND if no thumbnail are found.

Implements OpenRaw::RawFile.

Definition at line 53 of file ifdfile.cpp.

References _locateThumbnail(), OpenRaw::Internals::IFDFileContainer::directories(), and m_container.

or_error OpenRaw::Internals::IFDFile::_locateThumbnail ( const IFDDir::Ref dir,
std::vector< uint32_t > &  list 
) [protected]

locate the thumnaile in the IFD

dir the IFDDir where to locate the thumbnail
the error code. OR_ERROR_NOT_FOUND if the thumbnail are not found.

Definition at line 80 of file ifdfile.cpp.

References OpenRaw::Internals::JFIFContainer::getDimensions(), m_io, m_thumbLocations, and OpenRaw::RawFile::type().

Referenced by _enumThumbnailSizes().

Member Data Documentation

IFDFileContainer* OpenRaw::Internals::IFDFile::m_container [protected]

the real container

Definition at line 88 of file ifdfile.h.

Referenced by _enumThumbnailSizes(), OpenRaw::Internals::ORFFile::ORFFile(), and ~IFDFile().

IO::Stream* OpenRaw::Internals::IFDFile::m_io [protected]

the IO handle

Definition at line 87 of file ifdfile.h.

Referenced by _locateThumbnail(), OpenRaw::Internals::ORFFile::ORFFile(), and ~IFDFile().

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