Exiv2::Internal::TiffMapping Class Reference

Table of TIFF decoding and encoding functions and find functions. This class is separated from the metadata decoder and encoder visitors so that the parser can be parametrized with a different table if needed. This is used, eg., for CR2 format, which uses a different decoder table. More...

#include <tiffimage_int.hpp>

Collaboration diagram for Exiv2::Internal::TiffMapping:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

DecoderFct findDecoder (const std::string &make, uint32_t extendedTag, uint16_t group)
 Find the decoder function for a key.
EncoderFct findEncoder (const std::string &make, uint32_t extendedTag, uint16_t group)
 Find special encoder function for a key.

Detailed Description

Table of TIFF decoding and encoding functions and find functions. This class is separated from the metadata decoder and encoder visitors so that the parser can be parametrized with a different table if needed. This is used, eg., for CR2 format, which uses a different decoder table.


Member Function Documentation

DecoderFct Exiv2::Internal::TiffMapping::findDecoder const std::string &  make,
uint32_t  extendedTag,
uint16_t  group
[static]
 

Find the decoder function for a key.

If the returned pointer is 0, the tag should not be decoded, else the decoder function should be used.

Parameters:
make Camera make
extendedTag Extended tag
group Group
Returns:
Pointer to the decoder function

EncoderFct Exiv2::Internal::TiffMapping::findEncoder const std::string &  make,
uint32_t  extendedTag,
uint16_t  group
[static]
 

Find special encoder function for a key.

If the returned pointer is 0, the tag should be encoded with the encoder function of the TIFF component, else the encoder function should be used.

Parameters:
make Camera make
extendedTag Extended tag
group Group
Returns:
Pointer to the encoder function


The documentation for this class was generated from the following files:
Generated on Thu Dec 31 03:58:25 2009 for Exiv2 by  doxygen 1.3.9.1