Loading...
Searching...
No Matches
nikonmn_int.hpp
Go to the documentation of this file.
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#ifndef NIKONMN_INT_HPP_
#define NIKONMN_INT_HPP_
// *****************************************************************************
// included header files
#include "tags.hpp"
#include "types.hpp"
// + standard includes
#include <string>
#include <iosfwd>
#include <memory>
// *****************************************************************************
// namespace extensions
namespace Exiv2 {
namespace Internal {
// *****************************************************************************
// class definitions
class Nikon1MakerNote {
public:
static const TagInfo* tagList();
static std::ostream& print0x0002(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0007(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0085(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0086(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0088(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printBarValue(std::ostream& os, const Value& value, const ExifData*);
private:
static const TagInfo tagInfo_[];
}; // class Nikon1MakerNote
class Nikon2MakerNote {
public:
static const TagInfo* tagList();
static std::ostream& print0x000a(std::ostream& os, const Value& value, const ExifData*);
private:
static const TagInfo tagInfo_[];
}; // class Nikon2MakerNote
class Nikon3MakerNote {
public:
static const TagInfo* tagList();
static const TagInfo* tagListVr();
static const TagInfo* tagListPc();
static const TagInfo* tagListWt();
static const TagInfo* tagListIi();
static const TagInfo* tagListAf();
static const TagInfo* tagListAf21();
static const TagInfo* tagListAf22();
static const TagInfo* tagListAFT();
static const TagInfo* tagListFi();
static const TagInfo* tagListMe();
static const TagInfo* tagListFl1();
static const TagInfo* tagListFl2();
static const TagInfo* tagListFl3();
static const TagInfo* tagListSi1();
static const TagInfo* tagListSi2();
static const TagInfo* tagListSi3();
static const TagInfo* tagListSi4();
static const TagInfo* tagListSi5();
static const TagInfo* tagListCb1();
static const TagInfo* tagListCb2();
static const TagInfo* tagListCb2a();
static const TagInfo* tagListCb2b();
static const TagInfo* tagListCb3();
static const TagInfo* tagListCb4();
static const TagInfo* tagListLd1();
static const TagInfo* tagListLd2();
static const TagInfo* tagListLd3();
static const TagInfo* tagListLd4();
static std::ostream& print0x0002(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0007(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0083(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0084(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0085(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0086(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0088(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x0089(std::ostream& os, const Value& value, const ExifData* metadata);
static std::ostream& print0x008b(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printAfPointsInFocus(std::ostream& os, const Value& value, const ExifData* metadata);
static std::ostream& printLensId(std::ostream& os, const Value& value, const ExifData* metadata, const std::string& group);
static std::ostream& printLensId1(std::ostream& os, const Value& value, const ExifData* metadata);
static std::ostream& printLensId2(std::ostream& os, const Value& value, const ExifData* metadata);
static std::ostream& printLensId3(std::ostream& os, const Value& value, const ExifData* metadata);
static std::ostream& printLensId4(std::ostream& os, const Value& value, const ExifData* metadata);
static std::ostream& printLensId4ZMount(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printFocusDistance(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printAperture(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printApertureLd4(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printFocal(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printFocalLd4(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printFStops(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printExitPupilPosition(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x009a(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& print0x009e(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printIiIso(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printFlashFocalLength(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printRepeatingFlashRate(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printRepeatingFlashCount(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printTimeZone(std::ostream& os, const Value& value, const ExifData*);
static std::ostream& printPictureControl(std::ostream& os, const Value& value, const ExifData*);
private:
static const TagInfo tagInfo_[];
static const TagInfo tagInfoVr_[];
static const TagInfo tagInfoPc_[];
static const TagInfo tagInfoWt_[];
static const TagInfo tagInfoIi_[];
static const TagInfo tagInfoAf_[];
static const TagInfo tagInfoAf21_[];
static const TagInfo tagInfoAf22_[];
static const TagInfo tagInfoAFT_[];
static const TagInfo tagInfoFi_[];
static const TagInfo tagInfoMe_[];
static const TagInfo tagInfoFl1_[];
static const TagInfo tagInfoFl2_[];
static const TagInfo tagInfoFl3_[];
static const TagInfo tagInfoSi1_[];
static const TagInfo tagInfoSi2_[];
static const TagInfo tagInfoSi3_[];
static const TagInfo tagInfoSi4_[];
static const TagInfo tagInfoSi5_[];
static const TagInfo tagInfoCb1_[];
static const TagInfo tagInfoCb2_[];
static const TagInfo tagInfoCb2a_[];
static const TagInfo tagInfoCb2b_[];
static const TagInfo tagInfoCb3_[];
static const TagInfo tagInfoCb4_[];
static const TagInfo tagInfoLd1_[];
static const TagInfo tagInfoLd2_[];
static const TagInfo tagInfoLd3_[];
static const TagInfo tagInfoLd4_[];
}; // class Nikon3MakerNote
}} // namespace Internal, Exiv2
#endif // #ifndef NIKONMN_INT_HPP_
Exiv2::ExifData
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition exif.hpp:434
Exiv2::Internal::Nikon1MakerNote
A MakerNote format used by Nikon cameras, such as the E990 and D1.
Definition nikonmn_int.hpp:54
Exiv2::Internal::Nikon1MakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Nikon1 tags.
Definition nikonmn_int.cpp:266
Exiv2::Internal::Nikon1MakerNote::print0x0002
static std::ostream & print0x0002(std::ostream &os, const Value &value, const ExifData *)
Print ISO setting.
Definition nikonmn_int.cpp:271
Exiv2::Internal::Nikon1MakerNote::print0x0086
static std::ostream & print0x0086(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition nikonmn_int.cpp:346
Exiv2::Internal::Nikon1MakerNote::print0x0088
static std::ostream & print0x0088(std::ostream &os, const Value &value, const ExifData *)
Print AF focus position.
Definition nikonmn_int.cpp:370
Exiv2::Internal::Nikon1MakerNote::print0x0007
static std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print autofocus mode.
Definition nikonmn_int.cpp:310
Exiv2::Internal::Nikon1MakerNote::print0x0085
static std::ostream & print0x0085(std::ostream &os, const Value &value, const ExifData *)
Print manual focus distance.
Definition nikonmn_int.cpp:322
Exiv2::Internal::Nikon1MakerNote::printBarValue
static std::ostream & printBarValue(std::ostream &os, const Value &value, const ExifData *)
Print BarometerInfo.
Definition nikonmn_int.cpp:294
Exiv2::Internal::Nikon2MakerNote
A second MakerNote format used by Nikon cameras, including the E700, E800, E900, E900S,...
Definition nikonmn_int.hpp:85
Exiv2::Internal::Nikon2MakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Nikon2 tags.
Definition nikonmn_int.cpp:528
Exiv2::Internal::Nikon2MakerNote::print0x000a
static std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition nikonmn_int.cpp:533
Exiv2::Internal::Nikon3MakerNote
A third MakerNote format used by Nikon cameras, e.g., E5400, SQ, D2H, D70.
Definition nikonmn_int.hpp:103
Exiv2::Internal::Nikon3MakerNote::tagListAf22
static const TagInfo * tagListAf22()
Return read-only list of built-in Auto Focus 2 tags.
Definition nikonmn_int.cpp:940
Exiv2::Internal::Nikon3MakerNote::tagListLd4
static const TagInfo * tagListLd4()
Return read-only list of built-in Lens Data 4 tags.
Definition nikonmn_int.cpp:1499
Exiv2::Internal::Nikon3MakerNote::printExitPupilPosition
static std::ostream & printExitPupilPosition(std::ostream &os, const Value &value, const ExifData *)
Print exit pupil position.
Definition nikonmn_int.cpp:2765
Exiv2::Internal::Nikon3MakerNote::tagListWt
static const TagInfo * tagListWt()
Return read-only list of built-in World time tags.
Definition nikonmn_int.cpp:782
Exiv2::Internal::Nikon3MakerNote::tagListSi1
static const TagInfo * tagListSi1()
Return read-only list of built-in Shot Info D80 tags.
Definition nikonmn_int.cpp:1152
Exiv2::Internal::Nikon3MakerNote::tagListFi
static const TagInfo * tagListFi()
Return read-only list of built-in File Info tags.
Definition nikonmn_int.cpp:955
Exiv2::Internal::Nikon3MakerNote::printPictureControl
static std::ostream & printPictureControl(std::ostream &os, const Value &value, const ExifData *)
Print picture control value.
Definition nikonmn_int.cpp:2856
Exiv2::Internal::Nikon3MakerNote::printRepeatingFlashCount
static std::ostream & printRepeatingFlashCount(std::ostream &os, const Value &value, const ExifData *)
Print repeating flash count.
Definition nikonmn_int.cpp:2818
Exiv2::Internal::Nikon3MakerNote::printRepeatingFlashRate
static std::ostream & printRepeatingFlashRate(std::ostream &os, const Value &value, const ExifData *)
Print repeating flash rate.
Definition nikonmn_int.cpp:2802
Exiv2::Internal::Nikon3MakerNote::printFocal
static std::ostream & printFocal(std::ostream &os, const Value &value, const ExifData *)
Print lens focal length.
Definition nikonmn_int.cpp:2731
Exiv2::Internal::Nikon3MakerNote::print0x0085
static std::ostream & print0x0085(std::ostream &os, const Value &value, const ExifData *)
Print manual focus distance.
Definition nikonmn_int.cpp:1605
Exiv2::Internal::Nikon3MakerNote::tagListCb2
static const TagInfo * tagListCb2()
Return read-only list of built-in Color Balance 2 tags.
Definition nikonmn_int.cpp:1347
Exiv2::Internal::Nikon3MakerNote::tagListMe
static const TagInfo * tagListMe()
Return read-only list of built-in Multi Exposure tags.
Definition nikonmn_int.cpp:977
Exiv2::Internal::Nikon3MakerNote::print0x0086
static std::ostream & print0x0086(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom setting.
Definition nikonmn_int.cpp:1629
Exiv2::Internal::Nikon3MakerNote::tagListLd3
static const TagInfo * tagListLd3()
Return read-only list of built-in Lens Data 3 tags.
Definition nikonmn_int.cpp:1468
Exiv2::Internal::Nikon3MakerNote::printFlashFocalLength
static std::ostream & printFlashFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print flash focal length.
Definition nikonmn_int.cpp:2784
Exiv2::Internal::Nikon3MakerNote::printApertureLd4
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:2969
Exiv2::Internal::Nikon3MakerNote::print0x0083
static std::ostream & print0x0083(std::ostream &os, const Value &value, const ExifData *)
Print lens type.
Definition nikonmn_int.cpp:1537
Exiv2::Internal::Nikon3MakerNote::tagListIi
static const TagInfo * tagListIi()
Return read-only list of built-in ISO info tags.
Definition nikonmn_int.cpp:826
Exiv2::Internal::Nikon3MakerNote::printLensId
static std::ostream & printLensId(std::ostream &os, const Value &value, const ExifData *metadata, const std::string &group)
Print lens name.
Definition nikonmn_int.cpp:1836
Exiv2::Internal::Nikon3MakerNote::printAperture
static std::ostream & printAperture(std::ostream &os, const Value &value, const ExifData *)
Print lens aperture value.
Definition nikonmn_int.cpp:2712
Exiv2::Internal::Nikon3MakerNote::tagListAf
static const TagInfo * tagListAf()
Return read-only list of built-in Auto Focus tags.
Definition nikonmn_int.cpp:880
Exiv2::Internal::Nikon3MakerNote::tagListCb4
static const TagInfo * tagListCb4()
Return read-only list of built-in Color Balance 4 tags.
Definition nikonmn_int.cpp:1399
Exiv2::Internal::Nikon3MakerNote::printLensId4ZMount
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:2925
Exiv2::Internal::Nikon3MakerNote::tagListFl3
static const TagInfo * tagListFl3()
Return read-only list of built-in Flash Info 3 tags.
Definition nikonmn_int.cpp:1139
Exiv2::Internal::Nikon3MakerNote::print0x009e
static std::ostream & print0x009e(std::ostream &os, const Value &value, const ExifData *)
Print retouch history.
Definition nikonmn_int.cpp:2900
Exiv2::Internal::Nikon3MakerNote::tagListFl2
static const TagInfo * tagListFl2()
Return read-only list of built-in Flash Info 2 tags.
Definition nikonmn_int.cpp:1119
Exiv2::Internal::Nikon3MakerNote::print0x0084
static std::ostream & print0x0084(std::ostream &os, const Value &value, const ExifData *)
Print lens information.
Definition nikonmn_int.cpp:1571
Exiv2::Internal::Nikon3MakerNote::print0x0002
static std::ostream & print0x0002(std::ostream &os, const Value &value, const ExifData *)
Print ISO setting.
Definition nikonmn_int.cpp:1512
Exiv2::Internal::Nikon3MakerNote::tagListCb1
static const TagInfo * tagListCb1()
Return read-only list of built-in Color Balance 1 tags.
Definition nikonmn_int.cpp:1334
Exiv2::Internal::Nikon3MakerNote::printFStops
static std::ostream & printFStops(std::ostream &os, const Value &value, const ExifData *)
Print lens f-stops.
Definition nikonmn_int.cpp:2746
Exiv2::Internal::Nikon3MakerNote::tagListCb2b
static const TagInfo * tagListCb2b()
Return read-only list of built-in Color Balance 2b tags.
Definition nikonmn_int.cpp:1373
Exiv2::Internal::Nikon3MakerNote::print0x009a
static std::ostream & print0x009a(std::ostream &os, const Value &value, const ExifData *)
Print sensor pixel size.
Definition nikonmn_int.cpp:2888
Exiv2::Internal::Nikon3MakerNote::tagListSi5
static const TagInfo * tagListSi5()
Return read-only list of built-in Shot Info tags.
Definition nikonmn_int.cpp:1321
Exiv2::Internal::Nikon3MakerNote::printFocusDistance
static std::ostream & printFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Print focus distance.
Definition nikonmn_int.cpp:2693
Exiv2::Internal::Nikon3MakerNote::printFocalLd4
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:2984
Exiv2::Internal::Nikon3MakerNote::print0x0007
static std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print autofocus mode.
Definition nikonmn_int.cpp:1525
Exiv2::Internal::Nikon3MakerNote::tagListSi2
static const TagInfo * tagListSi2()
Return read-only list of built-in Shot Info D40 tags.
Definition nikonmn_int.cpp:1166
Exiv2::Internal::Nikon3MakerNote::print0x0089
static std::ostream & print0x0089(std::ostream &os, const Value &value, const ExifData *metadata)
Print shooting mode.
Definition nikonmn_int.cpp:1749
Exiv2::Internal::Nikon3MakerNote::tagListFl1
static const TagInfo * tagListFl1()
Return read-only list of built-in Flash Info 1 tags.
Definition nikonmn_int.cpp:1099
Exiv2::Internal::Nikon3MakerNote::tagListSi4
static const TagInfo * tagListSi4()
Return read-only list of built-in Shot Info D300 (b) tags.
Definition nikonmn_int.cpp:1286
Exiv2::Internal::Nikon3MakerNote::tagListCb3
static const TagInfo * tagListCb3()
Return read-only list of built-in Color Balance 3 tags.
Definition nikonmn_int.cpp:1386
Exiv2::Internal::Nikon3MakerNote::printTimeZone
static std::ostream & printTimeZone(std::ostream &os, const Value &value, const ExifData *)
Print time zone.
Definition nikonmn_int.cpp:2834
Exiv2::Internal::Nikon3MakerNote::tagListLd1
static const TagInfo * tagListLd1()
Return read-only list of built-in Lens Data 1 tags.
Definition nikonmn_int.cpp:1418
Exiv2::Internal::Nikon3MakerNote::tagListSi3
static const TagInfo * tagListSi3()
Return read-only list of built-in Shot Info D300 (a) tags.
Definition nikonmn_int.cpp:1226
Exiv2::Internal::Nikon3MakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Nikon3 tags.
Definition nikonmn_int.cpp:659
Exiv2::Internal::Nikon3MakerNote::print0x0088
static std::ostream & print0x0088(std::ostream &os, const Value &value, const ExifData *)
Print AF point.
Definition nikonmn_int.cpp:1653
Exiv2::Internal::Nikon3MakerNote::tagListLd2
static const TagInfo * tagListLd2()
Return read-only list of built-in Lens Data 2 tags.
Definition nikonmn_int.cpp:1443
Exiv2::Internal::Nikon3MakerNote::tagListCb2a
static const TagInfo * tagListCb2a()
Return read-only list of built-in Color Balance 2a tags.
Definition nikonmn_int.cpp:1360
Exiv2::Internal::Nikon3MakerNote::printAfPointsInFocus
static std::ostream & printAfPointsInFocus(std::ostream &os, const Value &value, const ExifData *metadata)
Print AF Points In Focus.
Definition nikonmn_int.cpp:1722
Exiv2::Internal::Nikon3MakerNote::print0x008b
static std::ostream & print0x008b(std::ostream &os, const Value &value, const ExifData *)
Print number of lens stops.
Definition nikonmn_int.cpp:1779
Exiv2::Internal::Nikon3MakerNote::printIiIso
static std::ostream & printIiIso(std::ostream &os, const Value &value, const ExifData *)
Print Exif.NikonIi.ISO(2)
Definition nikonmn_int.cpp:1504
Exiv2::Internal::Nikon3MakerNote::tagListAFT
static const TagInfo * tagListAFT()
Return read-only list of built-in AF Fine Tune tags.
Definition nikonmn_int.cpp:768
Exiv2::Internal::Nikon3MakerNote::tagListAf21
static const TagInfo * tagListAf21()
Return read-only list of built-in Auto Focus 2 tags.
Definition nikonmn_int.cpp:916
Exiv2::Internal::Nikon3MakerNote::tagListVr
static const TagInfo * tagListVr()
Return read-only list of built-in Vibration Reduction tags.
Definition nikonmn_int.cpp:691
Exiv2::Internal::Nikon3MakerNote::tagListPc
static const TagInfo * tagListPc()
Return read-only list of built-in Picture Control tags.
Definition nikonmn_int.cpp:747
Exiv2::Value
Common interface for all types of values used with metadata.
Definition value.hpp:51
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
Exiv2::TagInfo
Tag information.
Definition tags.hpp:74