Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | 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 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
CanonMakerNoteclone (bool alloc=true) const
 Return a 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 is responsible to delete it!
std::string ifdItem () const
 Return the name of the makernote item ("Canon").
std::ostream & printTag (std::ostream &os, uint16 tag, const Value &value) const
 Interpret and print the value of a makernote tag.

Static Public Member Functions

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

Detailed Description

MakerNote for Canon cameras.


Member Function Documentation

CanonMakerNote * Exiv2::CanonMakerNote::clone bool  alloc = true  )  const [virtual]
 

Return a 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 is responsible to delete it!

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.

Implements Exiv2::IfdMakerNote.


The documentation for this class was generated from the following files:
Generated on Mon Sep 13 22:01:42 2004 for Exiv2 by doxygen 1.3.8