#include <sigmamn.hpp>
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 Sigma tags. | |
Public Types | |
typedef std::auto_ptr < SigmaMakerNote > | AutoPtr |
Shortcut for a SigmaMakerNote auto pointer. | |
Public Member Functions | |
Creators | |
SigmaMakerNote (bool alloc=true) | |
Constructor. Allows to choose whether or not memory management is required for the makernote entries. | |
SigmaMakerNote (const SigmaMakerNote &rhs) | |
Copy constructor. | |
virtual | ~SigmaMakerNote () |
Virtual destructor. | |
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 | |
Print functions for Sigma (Foveon) MakerNote tags | |
static std::ostream & | printStripLabel (std::ostream &os, const Value &value) |
Strip the label from the value and print the remainder. | |
static std::ostream & | print0x0008 (std::ostream &os, const Value &value) |
Print exposure mode. | |
static std::ostream & | print0x0009 (std::ostream &os, const Value &value) |
Print metering mode. |
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::SigmaMakerNote::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::SigmaMakerNote::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::SigmaMakerNote::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.