Exiv2
Loading...
Searching...
No Matches
nikonmn_int.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2
15#ifndef NIKONMN_INT_HPP_
16#define NIKONMN_INT_HPP_
17
18// *****************************************************************************
19// included header files
20#include "tags.hpp"
21
22// *****************************************************************************
23// namespace extensions
24namespace Exiv2::Internal {
25// *****************************************************************************
26// class definitions
27
30 public:
32 static const TagInfo* tagList();
33
35
36
37 static std::ostream& print0x0002(std::ostream& os, const Value& value, const ExifData*);
39 static std::ostream& print0x0007(std::ostream& os, const Value& value, const ExifData*);
41 static std::ostream& print0x0085(std::ostream& os, const Value& value, const ExifData*);
43 static std::ostream& print0x0086(std::ostream& os, const Value& value, const ExifData*);
45 static std::ostream& print0x0088(std::ostream& os, const Value& value, const ExifData*);
47 static std::ostream& printBarValue(std::ostream& os, const Value& value, const ExifData*);
49
50 private:
52 static const TagInfo tagInfo_[];
53
54}; // class Nikon1MakerNote
55
61 public:
63 static const TagInfo* tagList();
64
66
67
68 static std::ostream& print0x000a(std::ostream& os, const Value& value, const ExifData*);
70
71 private:
73 static const TagInfo tagInfo_[];
74
75}; // class Nikon2MakerNote
76
79 public:
81 static const TagInfo* tagList();
83 static const TagInfo* tagListVr();
85 static const TagInfo* tagListPc();
87 static const TagInfo* tagListWt();
89 static const TagInfo* tagListIi();
91 static const TagInfo* tagListAf();
93 static const TagInfo* tagListAf21();
95 static const TagInfo* tagListAf22();
97 static const TagInfo* tagListAFT();
99 static const TagInfo* tagListFi();
101 static const TagInfo* tagListMe();
103 static const TagInfo* tagListFl1();
105 static const TagInfo* tagListFl2();
107 static const TagInfo* tagListFl3();
109 static const TagInfo* tagListFl6();
111 static const TagInfo* tagListFl7();
113 static const TagInfo* tagListSi1();
115 static const TagInfo* tagListSi2();
117 static const TagInfo* tagListSi3();
119 static const TagInfo* tagListSi4();
121 static const TagInfo* tagListSi5();
123 static const TagInfo* tagListCb1();
125 static const TagInfo* tagListCb2();
127 static const TagInfo* tagListCb2a();
129 static const TagInfo* tagListCb2b();
131 static const TagInfo* tagListCb3();
133 static const TagInfo* tagListCb4();
135 static const TagInfo* tagListLd1();
137 static const TagInfo* tagListLd2();
139 static const TagInfo* tagListLd3();
141 static const TagInfo* tagListLd4();
142
144
145
146 static std::ostream& print0x0002(std::ostream& os, const Value& value, const ExifData*);
148 static std::ostream& print0x0007(std::ostream& os, const Value& value, const ExifData*);
150 static std::ostream& print0x0083(std::ostream& os, const Value& value, const ExifData*);
152 static std::ostream& print0x0084(std::ostream& os, const Value& value, const ExifData*);
154 static std::ostream& print0x0085(std::ostream& os, const Value& value, const ExifData*);
156 static std::ostream& print0x0086(std::ostream& os, const Value& value, const ExifData*);
158 static std::ostream& print0x0088(std::ostream& os, const Value& value, const ExifData*);
160 static std::ostream& print0x0089(std::ostream& os, const Value& value, const ExifData* metadata);
162 static std::ostream& print0x008b(std::ostream& os, const Value& value, const ExifData*);
164 static std::ostream& printAfPointsInFocus(std::ostream& os, const Value& value, const ExifData* metadata);
166 static std::ostream& printLensId(std::ostream& os, const Value& value, const ExifData* metadata,
167 const std::string& group);
168 static std::ostream& printLensId1(std::ostream& os, const Value& value, const ExifData* metadata);
169 static std::ostream& printLensId2(std::ostream& os, const Value& value, const ExifData* metadata);
170 static std::ostream& printLensId3(std::ostream& os, const Value& value, const ExifData* metadata);
171 static std::ostream& printLensId4(std::ostream& os, const Value& value, const ExifData* metadata);
173 static std::ostream& printLensId4ZMount(std::ostream& os, const Value& value, const ExifData*);
175 static std::ostream& printFocusDistance(std::ostream& os, const Value& value, const ExifData*);
177 static std::ostream& printFocusDistanceLd4(std::ostream& os, const Value& value, const ExifData*);
179 static std::ostream& printAperture(std::ostream& os, const Value& value, const ExifData*);
181 static std::ostream& printApertureLd4(std::ostream& os, const Value& value, const ExifData*);
183 static std::ostream& printFocal(std::ostream& os, const Value& value, const ExifData*);
185 static std::ostream& printFocalLd4(std::ostream& os, const Value& value, const ExifData*);
187 static std::ostream& printFStops(std::ostream& os, const Value& value, const ExifData*);
189 static std::ostream& printExitPupilPosition(std::ostream& os, const Value& value, const ExifData*);
191 static std::ostream& print0x009a(std::ostream& os, const Value& value, const ExifData*);
193 static std::ostream& print0x009e(std::ostream& os, const Value& value, const ExifData*);
195 static std::ostream& printIiIso(std::ostream& os, const Value& value, const ExifData*);
197 static std::ostream& printFlashFocalLength(std::ostream& os, const Value& value, const ExifData*);
199 static std::ostream& printRepeatingFlashRate(std::ostream& os, const Value& value, const ExifData*);
201 static std::ostream& printRepeatingFlashCount(std::ostream& os, const Value& value, const ExifData*);
203 static std::ostream& printExternalFlashData1Fl6(std::ostream& os, const Value& value, const ExifData*);
205 static std::ostream& printExternalFlashData1Fl7(std::ostream& os, const Value& value, const ExifData*);
207 static std::ostream& printExternalFlashData2Fl6(std::ostream& os, const Value& value, const ExifData*);
209 static std::ostream& printExternalFlashData2(std::ostream& os, const Value& value, const ExifData*);
211 static std::ostream& printFlashMasterDataFl6(std::ostream& os, const Value& value, const ExifData*);
213 static std::ostream& printFlashMasterDataFl7(std::ostream& os, const Value& value, const ExifData*);
215 static std::ostream& printFlashGroupAControlData(std::ostream& os, const Value& value, const ExifData* data);
217 static std::ostream& printFlashGroupBCControlData(std::ostream& os, const Value& value, const ExifData* data);
219 static std::ostream& printFlashGroupADataFl6(std::ostream& os, const Value& value, const ExifData*);
221 static std::ostream& printFlashGroupADataFl7(std::ostream& os, const Value& value, const ExifData*);
223 static std::ostream& printFlashGroupBDataFl6(std::ostream& os, const Value& value, const ExifData*);
225 static std::ostream& printFlashGroupBDataFl7(std::ostream& os, const Value& value, const ExifData*);
227 static std::ostream& printFlashGroupCDataFl6(std::ostream& os, const Value& value, const ExifData*);
229 static std::ostream& printFlashGroupCDataFl7(std::ostream& os, const Value& value, const ExifData*);
231 static std::ostream& printExternalFlashData3(std::ostream& os, const Value& value, const ExifData*);
233 static std::ostream& printCameraExposureCompensation(std::ostream& os, const Value& value, const ExifData*);
235 static std::ostream& printExternalFlashData4(std::ostream& os, const Value& value, const ExifData*);
237 static std::ostream& printFlashZoomHeadPosition(std::ostream& os, const Value& value, const ExifData*);
239 static std::ostream& printTimeZone(std::ostream& os, const Value& value, const ExifData*);
241 static std::ostream& printPictureControl(std::ostream& os, const Value& value, const ExifData*);
243
244 private:
246 static const TagInfo tagInfo_[];
248 static const TagInfo tagInfoVr_[];
250 static const TagInfo tagInfoPc_[];
252 static const TagInfo tagInfoWt_[];
254 static const TagInfo tagInfoIi_[];
256 static const TagInfo tagInfoAf_[];
258 static const TagInfo tagInfoAf21_[];
260 static const TagInfo tagInfoAf22_[];
262 static const TagInfo tagInfoAFT_[];
264 static const TagInfo tagInfoFi_[];
266 static const TagInfo tagInfoMe_[];
268 static const TagInfo tagInfoFl1_[];
270 static const TagInfo tagInfoFl2_[];
272 static const TagInfo tagInfoFl3_[];
274 static const TagInfo tagInfoFl6_[];
276 static const TagInfo tagInfoFl7_[];
278 static const TagInfo tagInfoSi1_[];
280 static const TagInfo tagInfoSi2_[];
282 static const TagInfo tagInfoSi3_[];
284 static const TagInfo tagInfoSi4_[];
286 static const TagInfo tagInfoSi5_[];
288 static const TagInfo tagInfoCb1_[];
290 static const TagInfo tagInfoCb2_[];
292 static const TagInfo tagInfoCb2a_[];
294 static const TagInfo tagInfoCb2b_[];
296 static const TagInfo tagInfoCb3_[];
298 static const TagInfo tagInfoCb4_[];
300 static const TagInfo tagInfoLd1_[];
302 static const TagInfo tagInfoLd2_[];
304 static const TagInfo tagInfoLd3_[];
306 static const TagInfo tagInfoLd4_[];
307
308}; // class Nikon3MakerNote
309
310} // namespace Exiv2::Internal
311
312#endif // #ifndef NIKONMN_INT_HPP_
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition exif.hpp:379
A MakerNote format used by Nikon cameras, such as the E990 and D1.
Definition nikonmn_int.hpp:29
static const TagInfo * tagList()
Return read-only list of built-in Nikon1 tags.
Definition nikonmn_int.cpp:150
static std::ostream & print0x0002(std::ostream &os, const Value &value, const ExifData *)
Print ISO setting.
Definition nikonmn_int.cpp:154
static std::ostream & print0x0086(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition nikonmn_int.cpp:216
static std::ostream & print0x0088(std::ostream &os, const Value &value, const ExifData *)
Print AF focus position.
Definition nikonmn_int.cpp:233
static std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print autofocus mode.
Definition nikonmn_int.cpp:186
static std::ostream & print0x0085(std::ostream &os, const Value &value, const ExifData *)
Print manual focus distance.
Definition nikonmn_int.cpp:199
static std::ostream & printBarValue(std::ostream &os, const Value &value, const ExifData *)
Print BarometerInfo.
Definition nikonmn_int.cpp:171
A second MakerNote format used by Nikon cameras, including the E700, E800, E900, E900S,...
Definition nikonmn_int.hpp:60
static const TagInfo * tagList()
Return read-only list of built-in Nikon2 tags.
Definition nikonmn_int.cpp:339
static std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition nikonmn_int.cpp:343
A third MakerNote format used by Nikon cameras, e.g., E5400, SQ, D2H, D70.
Definition nikonmn_int.hpp:78
static const TagInfo * tagListAf22()
Return read-only list of built-in Auto Focus 2 tags.
Definition nikonmn_int.cpp:797
static const TagInfo * tagListLd4()
Return read-only list of built-in Lens Data 4 tags.
Definition nikonmn_int.cpp:1635
static std::ostream & printExitPupilPosition(std::ostream &os, const Value &value, const ExifData *)
Print exit pupil position.
Definition nikonmn_int.cpp:3261
static std::ostream & printFlashGroupAControlData(std::ostream &os, const Value &value, const ExifData *data)
Print flash group A control data value.
Definition nikonmn_int.cpp:3479
static const TagInfo * tagListWt()
Return read-only list of built-in World time tags.
Definition nikonmn_int.cpp:658
static const TagInfo * tagListSi1()
Return read-only list of built-in Shot Info D80 tags.
Definition nikonmn_int.cpp:1283
static std::ostream & printExternalFlashData3(std::ostream &os, const Value &value, const ExifData *)
Print external flash data 3 value.
Definition nikonmn_int.cpp:3691
static std::ostream & printFlashGroupADataFl6(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for group A when using NikonFl6.
Definition nikonmn_int.cpp:3517
static std::ostream & printFlashGroupADataFl7(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for group A when using NikonFl7.
Definition nikonmn_int.cpp:3546
static const TagInfo * tagListFi()
Return read-only list of built-in File Info tags.
Definition nikonmn_int.cpp:814
static std::ostream & printPictureControl(std::ostream &os, const Value &value, const ExifData *)
Print picture control value.
Definition nikonmn_int.cpp:3775
static std::ostream & printRepeatingFlashCount(std::ostream &os, const Value &value, const ExifData *)
Print repeating flash count.
Definition nikonmn_int.cpp:3313
static std::ostream & printRepeatingFlashRate(std::ostream &os, const Value &value, const ExifData *)
Print repeating flash rate.
Definition nikonmn_int.cpp:3296
static std::ostream & printFlashGroupBCControlData(std::ostream &os, const Value &value, const ExifData *data)
Print flash group B/C control data value.
Definition nikonmn_int.cpp:3496
static std::ostream & printFocal(std::ostream &os, const Value &value, const ExifData *)
Print lens focal length.
Definition nikonmn_int.cpp:3229
static std::ostream & printExternalFlashData4(std::ostream &os, const Value &value, const ExifData *)
Print external flash data 4 value.
Definition nikonmn_int.cpp:3717
static std::ostream & print0x0085(std::ostream &os, const Value &value, const ExifData *)
Print manual focus distance.
Definition nikonmn_int.cpp:1720
static const TagInfo * tagListCb2()
Return read-only list of built-in Color Balance 2 tags.
Definition nikonmn_int.cpp:1420
static const TagInfo * tagListFl6()
Return read-only list of built-in Flash Info 6 (0106) tags.
Definition nikonmn_int.cpp:1174
static const TagInfo * tagListMe()
Return read-only list of built-in Multi Exposure tags.
Definition nikonmn_int.cpp:837
static std::ostream & print0x0086(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition nikonmn_int.cpp:1737
static const TagInfo * tagListLd3()
Return read-only list of built-in Lens Data 3 tags.
Definition nikonmn_int.cpp:1585
static std::ostream & printFlashGroupBDataFl6(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for group B when using NikonFl6.
Definition nikonmn_int.cpp:3575
static std::ostream & printFlashFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print flash focal length.
Definition nikonmn_int.cpp:3277
static std::ostream & printApertureLd4(std::ostream &os, const Value &value, const ExifData *)
Print lens aperture value for new LensData as used for e.g. Nikon Z 6/7.
Definition nikonmn_int.cpp:3898
static std::ostream & print0x0083(std::ostream &os, const Value &value, const ExifData *)
Print lens type.
Definition nikonmn_int.cpp:1666
static const TagInfo * tagListIi()
Return read-only list of built-in ISO info tags.
Definition nikonmn_int.cpp:683
static std::ostream & printLensId(std::ostream &os, const Value &value, const ExifData *metadata, const std::string &group)
Print lens name.
Definition nikonmn_int.cpp:1926
static std::ostream & printAperture(std::ostream &os, const Value &value, const ExifData *)
Print lens aperture value.
Definition nikonmn_int.cpp:3209
static const TagInfo * tagListAf()
Return read-only list of built-in Auto Focus tags.
Definition nikonmn_int.cpp:717
static const TagInfo * tagListCb4()
Return read-only list of built-in Color Balance 4 tags.
Definition nikonmn_int.cpp:1480
static std::ostream & printExternalFlashData1Fl7(std::ostream &os, const Value &value, const ExifData *)
Print external flash data 1 value when using NikonFl7.
Definition nikonmn_int.cpp:3378
static std::ostream & printLensId4ZMount(std::ostream &os, const Value &value, const ExifData *)
Print lensname for ZMount Lens in new LensData as used for e.g. Nikon Z 6/7.
Definition nikonmn_int.cpp:3834
static const TagInfo * tagListFl3()
Return read-only list of built-in Flash Info 3 tags.
Definition nikonmn_int.cpp:1097
static std::ostream & print0x009e(std::ostream &os, const Value &value, const ExifData *)
Print retouch history.
Definition nikonmn_int.cpp:3812
static std::ostream & printFlashGroupCDataFl6(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for group C when using NikonFl6.
Definition nikonmn_int.cpp:3633
static const TagInfo * tagListFl2()
Return read-only list of built-in Flash Info 2 tags.
Definition nikonmn_int.cpp:1068
static std::ostream & print0x0084(std::ostream &os, const Value &value, const ExifData *)
Print lens information.
Definition nikonmn_int.cpp:1693
static std::ostream & print0x0002(std::ostream &os, const Value &value, const ExifData *)
Print ISO setting.
Definition nikonmn_int.cpp:1644
static const TagInfo * tagListCb1()
Return read-only list of built-in Color Balance 1 tags.
Definition nikonmn_int.cpp:1405
static std::ostream & printExternalFlashData2Fl6(std::ostream &os, const Value &value, const ExifData *)
Print external flash data 1 value when using NikonFl6.
Definition nikonmn_int.cpp:3356
static std::ostream & printFStops(std::ostream &os, const Value &value, const ExifData *)
Print lens f-stops.
Definition nikonmn_int.cpp:3245
static std::ostream & printFocusDistanceLd4(std::ostream &os, const Value &value, const ExifData *)
Print focus distance for new LensData as used for e.g. Nikon Z 6/7.
Definition nikonmn_int.cpp:3928
static const TagInfo * tagListCb2b()
Return read-only list of built-in Color Balance 2b tags.
Definition nikonmn_int.cpp:1450
static std::ostream & print0x009a(std::ostream &os, const Value &value, const ExifData *)
Print sensor pixel size.
Definition nikonmn_int.cpp:3803
static const TagInfo * tagListSi5()
Return read-only list of built-in Shot Info tags.
Definition nikonmn_int.cpp:1390
static std::ostream & printFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Print focus distance.
Definition nikonmn_int.cpp:3189
static std::ostream & printFocalLd4(std::ostream &os, const Value &value, const ExifData *)
Print Focal length value for new LensData as used for e.g. Nikon Z 6/7.
Definition nikonmn_int.cpp:3913
static std::ostream & printExternalFlashData2(std::ostream &os, const Value &value, const ExifData *)
Print external flash data 2 value.
Definition nikonmn_int.cpp:3407
static std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print autofocus mode.
Definition nikonmn_int.cpp:1653
static const TagInfo * tagListFl7()
Return read-only list of built-in Flash Info 7 (0107 and 0108) tags.
Definition nikonmn_int.cpp:1268
static const TagInfo * tagListSi2()
Return read-only list of built-in Shot Info D40 tags.
Definition nikonmn_int.cpp:1300
static std::ostream & printFlashGroupCDataFl7(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for group C when using NikonFl7.
Definition nikonmn_int.cpp:3662
static std::ostream & print0x0089(std::ostream &os, const Value &value, const ExifData *metadata)
Print shooting mode.
Definition nikonmn_int.cpp:1857
static const TagInfo * tagListFl1()
Return read-only list of built-in Flash Info 1 tags.
Definition nikonmn_int.cpp:1040
static std::ostream & printFlashZoomHeadPosition(std::ostream &os, const Value &value, const ExifData *)
Print flash head zoom value.
Definition nikonmn_int.cpp:3731
static std::ostream & printFlashMasterDataFl7(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for the Master when using NikonFl7.
Definition nikonmn_int.cpp:3450
static const TagInfo * tagListSi4()
Return read-only list of built-in Shot Info D300 (b) tags.
Definition nikonmn_int.cpp:1356
static const TagInfo * tagListCb3()
Return read-only list of built-in Color Balance 3 tags.
Definition nikonmn_int.cpp:1465
static std::ostream & printTimeZone(std::ostream &os, const Value &value, const ExifData *)
Print time zone.
Definition nikonmn_int.cpp:3756
static std::ostream & printCameraExposureCompensation(std::ostream &os, const Value &value, const ExifData *)
Print flash camera exposure compensation values.
Definition nikonmn_int.cpp:3705
static const TagInfo * tagListLd1()
Return read-only list of built-in Lens Data 1 tags.
Definition nikonmn_int.cpp:1507
static std::ostream & printFlashGroupBDataFl7(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for group B when using NikonFl7.
Definition nikonmn_int.cpp:3604
static const TagInfo * tagListSi3()
Return read-only list of built-in Shot Info D300 (a) tags.
Definition nikonmn_int.cpp:1328
static const TagInfo * tagList()
Return read-only list of built-in Nikon3 tags.
Definition nikonmn_int.cpp:549
static std::ostream & print0x0088(std::ostream &os, const Value &value, const ExifData *)
Print AF point.
Definition nikonmn_int.cpp:1754
static const TagInfo * tagListLd2()
Return read-only list of built-in Lens Data 2 tags.
Definition nikonmn_int.cpp:1546
static const TagInfo * tagListCb2a()
Return read-only list of built-in Color Balance 2a tags.
Definition nikonmn_int.cpp:1435
static std::ostream & printExternalFlashData1Fl6(std::ostream &os, const Value &value, const ExifData *)
Print external flash data 1 value when using NikonFl6.
Definition nikonmn_int.cpp:3330
static std::ostream & printAfPointsInFocus(std::ostream &os, const Value &value, const ExifData *metadata)
Print AF Points In Focus.
Definition nikonmn_int.cpp:1830
static std::ostream & print0x008b(std::ostream &os, const Value &value, const ExifData *)
Print number of lens stops.
Definition nikonmn_int.cpp:1885
static std::ostream & printIiIso(std::ostream &os, const Value &value, const ExifData *)
Print Exif.NikonIi.ISO(2)
Definition nikonmn_int.cpp:1639
static std::ostream & printFlashMasterDataFl6(std::ostream &os, const Value &value, const ExifData *)
Print flash compensation value for the Master when using NikonFl6.
Definition nikonmn_int.cpp:3421
static const TagInfo * tagListAFT()
Return read-only list of built-in AF Fine Tune tags.
Definition nikonmn_int.cpp:641
static const TagInfo * tagListAf21()
Return read-only list of built-in Auto Focus 2 tags.
Definition nikonmn_int.cpp:760
static const TagInfo * tagListVr()
Return read-only list of built-in Vibration Reduction tags.
Definition nikonmn_int.cpp:573
static const TagInfo * tagListPc()
Return read-only list of built-in Picture Control tags.
Definition nikonmn_int.cpp:621
Common interface for all types of values used with metadata.
Definition value.hpp:33
Helper structure for the Matroska tags lookup table.
Definition matroskavideo.hpp:39
Tag information.
Definition tags.hpp:224