Exiv2::Nikon1MakerNote Class Reference

A MakerNote format used by Nikon cameras, such as the E990 and D1. More...

#include <nikonmn.hpp>

Inheritance diagram for Exiv2::Nikon1MakerNote:

Inheritance graph
[legend]
Collaboration diagram for Exiv2::Nikon1MakerNote:

Collaboration graph
[legend]
List of all members.

Accessors

AutoPtr create (bool alloc=true) const
 Return an auto-pointer to an newly created, empty instance of the same type as this. The makernote entries are not copied. The caller owns the new object and the auto-pointer ensures that it will be deleted.
AutoPtr clone () const
 Return an auto-pointer to a clone of this object. The caller owns the new object and the auto-pointer ensures that it will be deleted.
const TagInfotagList ()
 Return read-only list of built-in Nikon1 tags.

Public Types

typedef std::auto_ptr< Nikon1MakerNoteAutoPtr
 Shortcut for a Nikon1MakerNote auto pointer.

Public Member Functions

Creators
 Nikon1MakerNote (bool alloc=true)
 Constructor. Allows to choose whether or not memory management is required for the makernote entries.
 Nikon1MakerNote (const Nikon1MakerNote &rhs)
 Copy constructor.
virtual ~Nikon1MakerNote ()
 Virtual destructor.

Static Public Member Functions

Print functions for Nikon1 MakerNote tags
std::ostream & print0x0002 (std::ostream &os, const Value &value)
 Print ISO setting.
std::ostream & print0x0007 (std::ostream &os, const Value &value)
 Print autofocus mode.
std::ostream & print0x0085 (std::ostream &os, const Value &value)
 Print manual focus distance.
std::ostream & print0x0086 (std::ostream &os, const Value &value)
 Print digital zoom setting.
std::ostream & print0x0088 (std::ostream &os, const Value &value)
 Print AF focus position.

Detailed Description

A MakerNote format used by Nikon cameras, such as the E990 and D1.


Member Function Documentation

AutoPtr Exiv2::Nikon1MakerNote::clone  )  const
 

Return an auto-pointer to a clone of this object. The caller owns the new object and the auto-pointer ensures that it will be deleted.

Note:
In non-alloc mode the clone potentially contains pointers to the same data buffer as the original. Use updateBase(byte* pNewBase) to adjust them.

Reimplemented from Exiv2::IfdMakerNote.

AutoPtr Exiv2::Nikon1MakerNote::create bool  alloc = true  )  const
 

Return an auto-pointer to an newly created, empty instance of the same type as this. The makernote entries are not copied. The caller owns the new object and the auto-pointer ensures that it will be deleted.

Parameters:
alloc Memory management model for the newly created object. Indicates 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.

Reimplemented from Exiv2::IfdMakerNote.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 01:55:41 2008 for Exiv2 by  doxygen 1.3.9.1