#include <pentaxmn.hpp>
Inheritance diagram for Exiv2::PentaxMakerNote:
Accessors | |
int | checkHeader () const |
Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful. | |
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. | |
static const TagInfo * | tagList () |
Return read-only list of built-in Pentaxfilm tags. | |
Public Types | |
typedef std::auto_ptr< PentaxMakerNote > | AutoPtr |
Shortcut for a PentaxMakerNote auto pointer. | |
Public Member Functions | |
Manipulators | |
int | readHeader (const byte *buf, long len, ByteOrder byteOrder) |
Read the makernote header from the makernote databuffer. This method must set the offset to the start of the IFD (start_), if needed (assuming that the required information is in the header). Return 0 if successful. | |
Static Public Member Functions | |
static std::ostream & | printPentaxVersion (std::ostream &os, const Value &value) |
Print Pentax version. | |
static std::ostream & | printPentaxResolution (std::ostream &os, const Value &value) |
Print Pentax resolution. | |
static std::ostream & | printPentaxDate (std::ostream &os, const Value &value) |
Print Pentax date. | |
static std::ostream & | printPentaxTime (std::ostream &os, const Value &value) |
Print Pentax time. | |
static std::ostream & | printPentaxExposure (std::ostream &os, const Value &value) |
Print Pentax exposure. | |
static std::ostream & | printPentaxFValue (std::ostream &os, const Value &value) |
Print Pentax F value. | |
static std::ostream & | printPentaxFocalLength (std::ostream &os, const Value &value) |
Print Pentax focal length. | |
static std::ostream & | printPentaxCompensation (std::ostream &os, const Value &value) |
Print Pentax compensation. | |
static std::ostream & | printPentaxTemperature (std::ostream &os, const Value &value) |
Print Pentax temperature. | |
static std::ostream & | printPentaxFlashCompensation (std::ostream &os, const Value &value) |
Print Pentax flash compensation. | |
static std::ostream & | printPentaxBracketing (std::ostream &os, const Value &value) |
Print Pentax bracketing. |
int Exiv2::PentaxMakerNote::readHeader | ( | const byte * | buf, | |
long | len, | |||
ByteOrder | byteOrder | |||
) | [virtual] |
Read the makernote header from the makernote databuffer. This method must set the offset to the start of the IFD (start_), if needed (assuming that the required information is in the header). Return 0 if successful.
Reimplemented from Exiv2::IfdMakerNote.
int Exiv2::PentaxMakerNote::checkHeader | ( | ) | const [virtual] |
Check the makernote header. This will typically check if a required prefix string is present in the header. Return 0 if successful.
Reimplemented from Exiv2::IfdMakerNote.
AutoPtr Exiv2::PentaxMakerNote::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.
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.
AutoPtr Exiv2::PentaxMakerNote::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.
Reimplemented from Exiv2::IfdMakerNote.