Exiv2::Internal::TiffMnCreator Class Reference

TIFF makernote factory for concrete TIFF makernotes. More...

#include <makernote_int.hpp>

Collaboration diagram for Exiv2::Internal::TiffMnCreator:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

TiffComponentcreate (uint16_t tag, uint16_t group, const std::string &make, const byte *pData, uint32_t size, ByteOrder byteOrder)
 Create the Makernote for camera make and details from the makernote entry itself if needed. Return a pointer to the newly created TIFF component. Set tag and group of the new component to tag and group. This method is used when a makernote is parsed from the Exif block.
TiffComponentcreate (uint16_t tag, uint16_t group, uint16_t mnGroup)
 Create the Makernote for a given group. This method is used when a makernote is written back from Exif tags.

Protected Member Functions

 ~TiffMnCreator ()
 Prevent destruction (needed if used as a policy class).

Detailed Description

TIFF makernote factory for concrete TIFF makernotes.


Member Function Documentation

TiffComponent * Exiv2::Internal::TiffMnCreator::create uint16_t  tag,
uint16_t  group,
const std::string &  make,
const byte pData,
uint32_t  size,
ByteOrder  byteOrder
[static]
 

Create the Makernote for camera make and details from the makernote entry itself if needed. Return a pointer to the newly created TIFF component. Set tag and group of the new component to tag and group. This method is used when a makernote is parsed from the Exif block.

Note:
Ownership for the component is transferred to the caller, who is responsible to delete the component. No smart pointer is used to indicate this transfer here in order to reduce file dependencies.


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