Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Examples

Exiv2::CanonMakerNote Class Reference

MakerNote for Canon cameras. More...

#include <canonmn.hpp>

Inheritance diagram for Exiv2::CanonMakerNote:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::auto_ptr< CanonMakerNoteAutoPtr
 Shortcut for a CanonMakerNote auto pointer.

Public Member Functions

Creators
 CanonMakerNote (bool alloc=true)
 Constructor. Allows to choose whether or not memory management is required for the makernote entries.
virtual ~CanonMakerNote ()
 Virtual destructor.
Accessors
AutoPtr clone (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.
std::string ifdItem () const
 Return the name of the makernote item ("Canon").
std::ostream & printTag (std::ostream &os, uint16_t tag, const Value &value) const
 Interpret and print the value of a makernote tag.

Static Public Member Functions

Print functions for Canon MakerNote tags
static std::ostream & print0x0001 (std::ostream &os, const Value &value)
 Print various camera settings, part 1 (uses print0x0001_XX functions).
static std::ostream & print0x0004 (std::ostream &os, const Value &value)
 Print various camera settings, part 2 (uses print0x0004_XX functions).
static std::ostream & print0x0008 (std::ostream &os, const Value &value)
 Print the image number.
static std::ostream & print0x000c (std::ostream &os, const Value &value)
 Print the serial number of the camera.
static std::ostream & print0x000f (std::ostream &os, const Value &value)
 Print EOS D30 custom functions.
static std::ostream & print0x0001_01 (std::ostream &os, long l)
 Macro mode.
static std::ostream & print0x0001_02 (std::ostream &os, long l)
 Self timer.
static std::ostream & print0x0001_03 (std::ostream &os, long l)
 Quality.
static std::ostream & print0x0001_04 (std::ostream &os, long l)
 Flash mode.
static std::ostream & print0x0001_05 (std::ostream &os, long l)
 Drive mode.
static std::ostream & print0x0001_07 (std::ostream &os, long l)
 Focus mode (G1 seems to use field 32 in preference to this).
static std::ostream & print0x0001_10 (std::ostream &os, long l)
 Image size.
static std::ostream & print0x0001_11 (std::ostream &os, long l)
 Easy shooting.
static std::ostream & print0x0001_12 (std::ostream &os, long l)
 Digital zoom.
static std::ostream & print0x0001_16 (std::ostream &os, long l)
 ISO.
static std::ostream & print0x0001_17 (std::ostream &os, long l)
 Metering mode.
static std::ostream & print0x0001_18 (std::ostream &os, long l)
 Focus type.
static std::ostream & print0x0001_19 (std::ostream &os, long l)
 AF point selected.
static std::ostream & print0x0001_20 (std::ostream &os, long l)
 Exposure mode.
static std::ostream & print0x0001_28 (std::ostream &os, long l)
 Flash activity.
static std::ostream & print0x0001_29 (std::ostream &os, long l)
 Flash details.
static std::ostream & print0x0001_32 (std::ostream &os, long l)
 Focus mode (G1 seems to use this in preference to field 7).
static std::ostream & print0x0001_lnh (std::ostream &os, long l)
 Low, normal, high print function.
static std::ostream & print0x0001_Lens (std::ostream &os, const Value &value)
 Camera lens information.
static std::ostream & print0x0004_07 (std::ostream &os, long l)
 White balance.
static std::ostream & print0x0004_09 (std::ostream &os, long l)
 Sequence number.
static std::ostream & print0x0004_14 (std::ostream &os, long l)
 AF point used.
static std::ostream & print0x0004_15 (std::ostream &os, long l)
 Flash bias.
static std::ostream & print0x0004_19 (std::ostream &os, long l)
 Subject distance.

Classes

struct  RegisterMakerNote
 Structure used to auto-register the MakerNote.

Detailed Description

MakerNote for Canon cameras.


Member Function Documentation

CanonMakerNote::AutoPtr Exiv2::CanonMakerNote::clone 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 clone. 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 files:
Generated on Sat Mar 5 19:54:19 2005 for Exiv2 by  doxygen 1.4.1