 |
Exiv2
|
Go to the documentation of this file.
41 #ifndef NIKONMN_INT_HPP_
42 #define NIKONMN_INT_HPP_
86 static const TagInfo tagInfo_[];
107 static const TagInfo tagInfo_[];
195 static std::ostream& printLensId1(std::ostream& os,
const Value& value,
const ExifData* metadata);
196 static std::ostream& printLensId2(std::ostream& os,
const Value& value,
const ExifData* metadata);
197 static std::ostream& printLensId3(std::ostream& os,
const Value& value,
const ExifData* metadata);
228 static const TagInfo tagInfo_[];
230 static const TagInfo tagInfoVr_[];
232 static const TagInfo tagInfoPc_[];
234 static const TagInfo tagInfoWt_[];
236 static const TagInfo tagInfoIi_[];
238 static const TagInfo tagInfoAf_[];
240 static const TagInfo tagInfoAf21_[];
242 static const TagInfo tagInfoAf22_[];
244 static const TagInfo tagInfoAFT_[];
246 static const TagInfo tagInfoFi_[];
248 static const TagInfo tagInfoMe_[];
250 static const TagInfo tagInfoFl1_[];
252 static const TagInfo tagInfoFl2_[];
254 static const TagInfo tagInfoFl3_[];
256 static const TagInfo tagInfoSi1_[];
258 static const TagInfo tagInfoSi2_[];
260 static const TagInfo tagInfoSi3_[];
262 static const TagInfo tagInfoSi4_[];
264 static const TagInfo tagInfoSi5_[];
266 static const TagInfo tagInfoCb1_[];
268 static const TagInfo tagInfoCb2_[];
270 static const TagInfo tagInfoCb2a_[];
272 static const TagInfo tagInfoCb2b_[];
274 static const TagInfo tagInfoCb3_[];
276 static const TagInfo tagInfoCb4_[];
278 static const TagInfo tagInfoLd1_[];
280 static const TagInfo tagInfoLd2_[];
282 static const TagInfo tagInfoLd3_[];
288 #endif // #ifndef NIKONMN_INT_HPP_
static const TagInfo * tagListCb2a()
Return read-only list of built-in Color Balance 2a tags.
Definition: nikonmn_int.cpp:1355
const TagDetails nikonOffOn2[]
VibrationReduction.
static std::ostream & printFStops(std::ostream &os, const Value &value, const ExifData *)
Print lens f-stops.
Definition: nikonmn_int.cpp:2700
std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print GPS timestamp.
Definition: tags_int.cpp:2326
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:189
const TagDetails nikon2ImageAdjustment[]
ImageAdjustment, tag 0x0005.
static std::ostream & printAfPointsInFocus(std::ostream &os, const Value &value, const ExifData *metadata)
Print AF Points In Focus.
Definition: nikonmn_int.cpp:1686
static std::ostream & print0x0002(std::ostream &os, const Value &value, const ExifData *)
Print ISO setting.
Definition: nikonmn_int.cpp:1476
const TagDetails nikonExternalFlashFlags[]
ExternalFlashFlags.
Nikon makernote tags. References: [1] MakerNote EXIF Tag of the Nikon 990 by Max Lyons [2] Exif fil...
const TagDetails nikon2IsoSpeed[]
ISOSpeed, tag 0x0006.
static const TagInfo * tagListSi1()
Return read-only list of built-in Shot Info D80 tags.
Definition: nikonmn_int.cpp:1147
virtual Rational toRational(long n=0) const =0
Convert the n-th component of the value to a Rational. The behaviour of this method may be undefined ...
virtual long size() const =0
Return the size of the value in bytes.
iterator findKey(const ExifKey &key)
Find the first Exifdatum with the given key, return an iterator to it.
Definition: exif.cpp:590
Common interface for all types of values used with metadata.
Definition: value.hpp:60
Internal::enable_if< Internal::is_signed< T >::VALUE, T >::type abs(T num)
Calculates the absolute value of a number without producing negative values.
Definition: safe_op.hpp:327
static const TagInfo * tagListFl1()
Return read-only list of built-in Flash Info 1 tags.
Definition: nikonmn_int.cpp:1094
const TagDetails nikonOffOn3[]
VibrationReduction2.
const TagDetails nikonAfFineTuneAdj1[]
AfFineTuneAdj D300 (a)
const TagDetails nikonFlashSource[]
FlashSource.
Type definitions for Exiv2 and related functionality.
ExifMetadata::const_iterator const_iterator
ExifMetadata const iterator type.
Definition: exif.hpp:439
static std::ostream & print0x0084(std::ostream &os, const Value &value, const ExifData *)
Print lens information.
Definition: nikonmn_int.cpp:1535
@ undefined
Exif UNDEFINED type, an 8-bit byte that may contain anything.
Definition: types.hpp:137
TypeId typeId() const
Return the type identifier (Exif data format type).
Definition: value.hpp:113
static const TagInfo * tagListAf22()
Return read-only list of built-in Auto Focus 2 tags.
Definition: nikonmn_int.cpp:935
const TagDetails nikonIsoExpansion[]
ISOExpansion, tag index 4 and 10.
const char *const nikonFocuspoints[]
Focus points for Nikon cameras, used for Nikon 1 and Nikon 3 makernotes.
static const TagInfo * tagListCb1()
Return read-only list of built-in Color Balance 1 tags.
Definition: nikonmn_int.cpp:1329
static std::ostream & print0x0083(std::ostream &os, const Value &value, const ExifData *)
Print lens type.
Definition: nikonmn_int.cpp:1501
ValueList value_
The container for all values. In your application, if you know what subclass of Value you're dealing ...
Definition: value.hpp:1325
@ signedShort
Exif SSHORT type, a 16-bit (2-byte) signed (twos-complement) integer.
Definition: types.hpp:138
static std::ostream & printPictureControl(std::ostream &os, const Value &value, const ExifData *)
Print picture control value.
Definition: nikonmn_int.cpp:2810
EXIV2API const char * exvGettext(const char *str)
Translate a string using the gettext framework. This wrapper hides all the implementation details fro...
Definition: types.cpp:576
@ asciiString
Exif ASCII type, 8-bit byte.
Definition: types.hpp:132
static std::ostream & printTimeZone(std::ostream &os, const Value &value, const ExifData *)
Print time zone.
Definition: nikonmn_int.cpp:2788
static std::ostream & printBarValue(std::ostream &os, const Value &value, const ExifData *)
Print BarometerInfo.
Definition: nikonmn_int.cpp:292
const TagDetails nikonDateDisplayFormat[]
DateDisplayFormat, tag index 3.
static const TagInfo * tagListSi4()
Return read-only list of built-in Shot Info D300 (b) tags.
Definition: nikonmn_int.cpp:1281
static std::ostream & printFocal(std::ostream &os, const Value &value, const ExifData *)
Print lens focal length.
Definition: nikonmn_int.cpp:2685
virtual long count() const =0
Return the number of components of the value.
#define EXV_COUNTOF(a)
Macro to determine the size of an array.
Definition: types.hpp:517
const TagDetails nikon2WhiteBalance[]
WhiteBalance, tag 0x0007.
iterator end()
End of the metadata.
Definition: exif.hpp:492
static std::ostream & printLensId(std::ostream &os, const Value &value, const ExifData *metadata, const std::string &group)
Print lens name.
Definition: nikonmn_int.cpp:1793
const TagDetails nikonOnOff[]
OnOff.
@ unsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
Definition: types.hpp:134
static std::ostream & print0x0086(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition: nikonmn_int.cpp:1593
const TagDetails nikonAfAreaMode[]
AfAreaMode.
std::string & trim(std::string &s, const char *t=" \t\n\r\f\v")
trim from left & right
Definition: minoltamn_int.cpp:2009
const TagDetails nikonFilterEffect[]
FilterEffect.
const TagDetails nikonActiveDLighning[]
Off, Low, Normal, High, multiple tags.
static std::ostream & print0x009e(std::ostream &os, const Value &value, const ExifData *)
Print retouch history.
Definition: nikonmn_int.cpp:2854
static const TagInfo * tagListAFT()
Return read-only list of built-in AF Fine Tune tags.
Definition: nikonmn_int.cpp:763
static const TagInfo * tagList()
Return read-only list of built-in Nikon1 tags.
Definition: nikonmn_int.cpp:264
const TagDetails nikonPhaseDetectAF[]
PhaseDetectAF.
virtual float toFloat(long n=0) const =0
Convert the n-th component of the value to a float. The behaviour of this method may be undefined if ...
static const TagInfo * tagList()
Return read-only list of built-in Nikon2 tags.
Definition: nikonmn_int.cpp:526
@ unsignedRational
Exif RATIONAL type, two LONGs: numerator and denumerator of a fraction.
Definition: types.hpp:135
static std::ostream & print0x0086(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition: nikonmn_int.cpp:344
const TagDetails nikon2ColorMode[]
ColorMode, tag 0x0004.
const TagDetails nikonFlashColorFilter[]
FlashColorFilter.
const TagDetails nikonAdjust[]
Adjust.
static std::ostream & print0x0085(std::ostream &os, const Value &value, const ExifData *)
Print manual focus distance.
Definition: nikonmn_int.cpp:320
const TagDetails aftOnOff[]
OnOff.
static std::ostream & print0x0089(std::ostream &os, const Value &value, const ExifData *metadata)
Print shooting mode.
Definition: nikonmn_int.cpp:1713
static std::ostream & printAperture(std::ostream &os, const Value &value, const ExifData *)
Print lens aperture value.
Definition: nikonmn_int.cpp:2666
static const TagInfo * tagListMe()
Return read-only list of built-in Multi Exposure tags.
Definition: nikonmn_int.cpp:972
static const TagInfo * tagListCb4()
Return read-only list of built-in Color Balance 4 tags.
Definition: nikonmn_int.cpp:1394
static const TagInfo * tagListFi()
Return read-only list of built-in File Info tags.
Definition: nikonmn_int.cpp:950
static std::ostream & print0x008b(std::ostream &os, const Value &value, const ExifData *)
Print number of lens stops.
Definition: nikonmn_int.cpp:1743
static const TagInfo * tagListFl2()
Return read-only list of built-in Flash Info 2 tags.
Definition: nikonmn_int.cpp:1114
@ unsignedByte
Exif BYTE type, 8-bit unsigned integer.
Definition: types.hpp:131
const TagDetails nikonRetouchHistory[]
RetouchHistory, tag 0x009e.
std::ostream & printValue(std::ostream &os, const Value &value, const ExifData *)
Default print function, using the Value output operator.
Definition: tags_int.cpp:2165
static std::ostream & print0x0002(std::ostream &os, const Value &value, const ExifData *)
Print ISO setting.
Definition: nikonmn_int.cpp:269
@ signedByte
Exif SBYTE type, an 8-bit signed (twos-complement) integer.
Definition: types.hpp:136
Concrete keys for Exif metadata and access to Exif tag reference data.
Definition: tags.hpp:148
static std::ostream & print0x0085(std::ostream &os, const Value &value, const ExifData *)
Print manual focus distance.
Definition: nikonmn_int.cpp:1569
std::string toString() const
Return the value as a string. Implemented in terms of write(std::ostream& os) const of the concrete c...
Definition: value.cpp:175
EXIV2API int32_t getLong(const byte *buf, ByteOrder byteOrder)
Read a 4 byte signed long value from the data buffer.
Definition: types.cpp:328
const char * label_
Translation of the tag value.
Definition: tags_int.hpp:191
static const TagInfo * tagListCb3()
Return read-only list of built-in Color Balance 3 tags.
Definition: nikonmn_int.cpp:1381
const TagDetails nikonAutoBracketRelease[]
AutoBracketRelease, tag 0x008a.
const TagDetails nikonYesNo[]
YesNo, used for DaylightSavings, tag index 2.
const T * find(T(&src)[N], const K &key)
Find an element that matches key in the array src.
Definition: types.hpp:508
const TagDetailsBitmask nikonShootingMode[]
ShootingMode, tag 0x0089.
std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS measurement mode.
Definition: tags_int.cpp:2367
const char *const nikonFocusarea[]
Focus area for Nikon cameras.
const TagDetails nikonFlashGNDistance[]
FlashGNDistance.
virtual long toLong(long n=0) const =0
Convert the n-th component of the value to a long. The behaviour of this method may be undefined if t...
static const TagInfo * tagList()
Return read-only list of built-in Nikon3 tags.
Definition: nikonmn_int.cpp:654
@ unsignedShort
Exif SHORT type, 16-bit (2-byte) unsigned integer.
Definition: types.hpp:133
static std::ostream & printIiIso(std::ostream &os, const Value &value, const ExifData *)
Print Exif.NikonIi.ISO(2)
Definition: nikonmn_int.cpp:1468
static const TagInfo * tagListCb2b()
Return read-only list of built-in Color Balance 2b tags.
Definition: nikonmn_int.cpp:1368
Makernote factory and registry, IFD makernote header, and camera vendor specific makernote implementa...
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
std::pair< int32_t, int32_t > Rational
8 byte signed rational type.
Definition: types.hpp:110
static const TagInfo * tagListAf()
Return read-only list of built-in Auto Focus tags.
Definition: nikonmn_int.cpp:875
Value interface and concrete subclasses.
A MakerNote format used by Nikon cameras, such as the E990 and D1.
Definition: nikonmn_int.hpp:63
@ signedLong
Exif SLONG type, a 32-bit (4-byte) signed (twos-complement) integer.
Definition: types.hpp:139
const TagDetails nikonFlashControlMode[]
FlashControlMode.
const TagDetails nikonColorSpace[]
ColorSpace, tag 0x001e.
static const TagInfo * tagListSi5()
Return read-only list of built-in Shot Info tags.
Definition: nikonmn_int.cpp:1316
const TagDetails nikonOlnh[]
Off, Low, Normal, High, multiple tags.
static std::ostream & print0x009a(std::ostream &os, const Value &value, const ExifData *)
Print sensor pixel size.
Definition: nikonmn_int.cpp:2842
const TagDetails nikonToningEffect[]
ToningEffect.
static const TagInfo * tagListFl3()
Return read-only list of built-in Flash Info 3 tags.
Definition: nikonmn_int.cpp:1134
@ signedRational
Exif SRATIONAL type, two SLONGs: numerator and denumerator of a fraction.
Definition: types.hpp:140
static const TagInfo * tagListSi2()
Return read-only list of built-in Shot Info D40 tags.
Definition: nikonmn_int.cpp:1161
static std::ostream & print0x0088(std::ostream &os, const Value &value, const ExifData *)
Print AF focus position.
Definition: nikonmn_int.cpp:368
const TagDetails nikonNefCompression[]
NEFCompression, tag 0x0093.
Tag information.
Definition: tags.hpp:82
static const TagInfo * tagListPc()
Return read-only list of built-in Picture Control tags.
Definition: nikonmn_int.cpp:742
static std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print autofocus mode.
Definition: nikonmn_int.cpp:1489
static std::ostream & print0x0088(std::ostream &os, const Value &value, const ExifData *)
Print AF point.
Definition: nikonmn_int.cpp:1617
static const TagInfo * tagListVr()
Return read-only list of built-in Vibration Reduction tags.
Definition: nikonmn_int.cpp:686
ByteOrder
Type to express the byte order (little or big endian)
Definition: types.hpp:113
const TagDetails nikonFlashMode[]
FlashMode, tag 0x0087.
static std::ostream & printFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Print focus distance.
Definition: nikonmn_int.cpp:2647
const TagDetails nikonFlashComp[]
FlashComp, tag 0x0012.
static std::ostream & printRepeatingFlashRate(std::ostream &os, const Value &value, const ExifData *)
Print repeating flash rate.
Definition: nikonmn_int.cpp:2756
const TagDetails nikonOffOn[]
OffOn, multiple tags.
const TagDetails nikonFlashFirmware[]
FlashFirmware.
static std::ostream & printRepeatingFlashCount(std::ostream &os, const Value &value, const ExifData *)
Print repeating flash count.
Definition: nikonmn_int.cpp:2772
static std::ostream & printExitPupilPosition(std::ostream &os, const Value &value, const ExifData *)
Print exit pupil position.
Definition: nikonmn_int.cpp:2719
std::string readExiv2Config(const std::string §ion, const std::string &value, const std::string &def)
Read value from Exiv2 configuration file.
Definition: makernote_int.cpp:113
const TagDetails nikonHighISONoiseReduction[]
HighISONoiseReduction, tag 0x00b1.
static const TagInfo * tagListCb2()
Return read-only list of built-in Color Balance 2 tags.
Definition: nikonmn_int.cpp:1342
static const TagInfo * tagListAf21()
Return read-only list of built-in Auto Focus 2 tags.
Definition: nikonmn_int.cpp:911
const TagDetails nikon2Quality[]
Quality, tag 0x0003.
EXIV2API ExifData::const_iterator model(const ExifData &ed)
Return the camera model.
Definition: easyaccess.cpp:436
static std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition: nikonmn_int.cpp:531
@ string
IPTC string type.
Definition: types.hpp:147
const TagDetailsBitmask nikonAfPointsInFocus[]
AfPointsInFocus.
const TagDetails nikonAfFineTuneAdj2[]
AfFineTuneAdj D300 (b)
static const TagInfo * tagListWt()
Return read-only list of built-in World time tags.
Definition: nikonmn_int.cpp:777
const TagDetails nikonMultiExposureMode[]
MultiExposureMode.
A third MakerNote format used by Nikon cameras, e.g., E5400, SQ, D2H, D70.
Definition: nikonmn_int.hpp:112
std::string toString(const T &arg)
Utility function to convert the argument of any type to a string.
Definition: types.hpp:521
A second MakerNote format used by Nikon cameras, including the E700, E800, E900, E900S,...
Definition: nikonmn_int.hpp:94
Template for a Value of a basic type. This is used for unsigned and signed short, long and rationals.
Definition: value.hpp:1244
const TagDetails nikonAfPoint[]
AfPoint.
std::ostream & printExifVersion(std::ostream &os, const Value &value, const ExifData *)
Print any version packed in 4 Bytes format : major major minor minor.
Definition: tags_int.cpp:2836
static const TagInfo * tagListLd2()
Return read-only list of built-in Lens Data 2 tags.
Definition: nikonmn_int.cpp:1438
static std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print autofocus mode.
Definition: nikonmn_int.cpp:308
static const TagInfo * tagListLd1()
Return read-only list of built-in Lens Data 1 tags.
Definition: nikonmn_int.cpp:1413
Error class for exceptions, log message class.
const TagDetailsBitmask nikonShootingModeD70[]
ShootingMode D70, tag 0x0089.
static std::ostream & printFlashFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print flash focal length.
Definition: nikonmn_int.cpp:2738
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
static const TagInfo * tagListIi()
Return read-only list of built-in ISO info tags.
Definition: nikonmn_int.cpp:821
static const TagInfo * tagListLd3()
Return read-only list of built-in Lens Data 3 tags.
Definition: nikonmn_int.cpp:1463
static const TagInfo * tagListSi3()
Return read-only list of built-in Shot Info D300 (a) tags.
Definition: nikonmn_int.cpp:1221