pentaxmn.hpp File Reference

Pentax MakerNote implemented according to the specification http://www.gvsoft.homedns.org/exif/makernote-pentax-type3.html and based on ExifTool implementation and Pentax Makernote list by Phil Harvey. More...

#include "types.hpp"
#include "makernote.hpp"
#include "tags.hpp"
#include <string>
#include <iostream>
#include <iomanip>
#include <memory>

Include dependency graph for pentaxmn.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Namespaces

namespace  Exiv2

Classes

class  Exiv2::PentaxMakerNote
 MakerNote for Pentaxfilm cameras. More...
struct  Exiv2::PentaxMakerNote::RegisterMn
 IGNORE More...

Defines

#define EXV_PRINT_COMBITAG(array, count, ignoredcount)   printCombiTag<EXV_COUNTOF(array), array, count, ignoredcount>
 Shortcut for the printCombiTag template which requires typing the array name only once.

Functions

MakerNote::AutoPtr createPentaxMakerNote (bool alloc, const byte *buf, long len, ByteOrder byteOrder, long offset)
 Return an auto-pointer to a newly created empty MakerNote initialized to operate in the memory management model indicated. The caller owns this copy and the auto-pointer ensures that it will be deleted.
template<int N, const TagDetails & array, int count, int ignoredcount>
std::ostream & printCombiTag (std::ostream &os, const Value &value)
 Print function to translate Pentax "combi-values" to a description by looking up a reference table.

Detailed Description

Pentax MakerNote implemented according to the specification http://www.gvsoft.homedns.org/exif/makernote-pentax-type3.html and based on ExifTool implementation and Pentax Makernote list by Phil Harvey.

Version:
Rev
1366
Author:
Michal Cihar michal@cihar.com
Date:
27-Sep-07

Function Documentation

MakerNote::AutoPtr createPentaxMakerNote bool  alloc,
const byte buf,
long  len,
ByteOrder  byteOrder,
long  offset
 

Return an auto-pointer to a newly created empty MakerNote initialized to operate in the memory management model indicated. The caller owns this copy and the auto-pointer ensures that it will be deleted.

Parameters:
alloc Memory management model for the new MakerNote. Determines if memory required to store data should be allocated and deallocated (true) or not (false). If false, only pointers to the buffer provided to read() will be kept. See Ifd for more background on this concept.
buf Pointer to the makernote character buffer (not used).
len Length of the makernote character buffer (not used).
byteOrder Byte order in which the Exif data (and possibly the makernote) is encoded (not used).
offset Offset from the start of the TIFF header of the makernote buffer (not used).
Returns:
An auto-pointer to a newly created empty MakerNote. The caller owns this copy and the auto-pointer ensures that it will be deleted.


Generated on Sun Jun 22 13:19:01 2008 for Exiv2 by  doxygen 1.3.9.1