Exiv2
panasonicmn_int.hpp
Go to the documentation of this file.
1 // ***************************************************************** -*- C++ -*-
2 /*
3  * Copyright (C) 2004-2018 Exiv2 authors
4  * This program is part of the Exiv2 distribution.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
19  */
32 #ifndef PANASONICMN_INT_HPP_
33 #define PANASONICMN_INT_HPP_
34 
35 // *****************************************************************************
36 // included header files
37 #include "tags.hpp"
38 #include "types.hpp"
39 
40 // + standard includes
41 #include <string>
42 #include <iosfwd>
43 
44 // *****************************************************************************
45 // namespace extensions
46 namespace Exiv2 {
47  namespace Internal {
48 
49 // *****************************************************************************
50 // class definitions
51 
54  public:
56  static const TagInfo* tagList();
58  static const TagInfo* tagListRaw();
59 
61 
62  static std::ostream& print0x000f(std::ostream& os, const Value& value, const ExifData*);
65  static std::ostream& print0x0023(std::ostream& os, const Value& value, const ExifData*);
67  static std::ostream& print0x0029(std::ostream& os, const Value& value, const ExifData*);
69  static std::ostream& print0x0033(std::ostream& os, const Value& value, const ExifData*);
71  static std::ostream& print0x0036(std::ostream& os, const Value& value, const ExifData*);
73  static std::ostream& print0x003c(std::ostream& os, const Value& value, const ExifData*);
75  static std::ostream& printPressure(std::ostream& os, const Value& value, const ExifData*);
77  static std::ostream& printPanasonicText(std::ostream& os, const Value& value, const ExifData*);
79  static std::ostream& printAccelerometer(std::ostream& os, const Value& value, const ExifData*);
81  static std::ostream& printRollAngle(std::ostream& os, const Value& value, const ExifData*);
83  static std::ostream& printPitchAngle(std::ostream& os, const Value& value, const ExifData*);
85 
86  private:
88  static const TagInfo tagInfo_[];
90  static const TagInfo tagInfoRaw_[];
91 
92  }; // class PanasonicMakerNote
93 
94 }} // namespace Internal, Exiv2
95 
96 #endif // #ifndef PANASONICMN_INT_HPP_
Exiv2::Internal::panasonicHDR
const TagDetails panasonicHDR[]
HDR, tag 0x009e.
Exiv2::Internal::panasonicImageStabilizer
const TagDetails panasonicImageStabilizer[]
ImageStabilizer, tag 0x001a.
Exiv2::Internal::panasonicWorldTimeLocation
const TagDetails panasonicWorldTimeLocation[]
WorldTimeLocation, tag 0x003a.
Exiv2::Internal::panasonicConversionLens
const TagDetails panasonicConversionLens[]
ConversionLens, tag 0x0035.
Exiv2::Value::size
virtual long size() const =0
Return the size of the value in bytes.
Exiv2::Value
Common interface for all types of values used with metadata.
Definition: value.hpp:60
Exiv2::Internal::panasonicTimerRecording
const TagDetails panasonicTimerRecording[]
Timer recording, tag 0x0096.
Exiv2::Internal::panasonicIntelligentDRange
const TagDetails panasonicIntelligentDRange[]
Intelligent D-Range, tag 0x0079.
types.hpp
Type definitions for Exiv2 and related functionality.
Exiv2::Internal::panasonicOpticalZoomMode
const TagDetails panasonicOpticalZoomMode[]
OpticalZoomMode, tag 0x0034.
Exiv2::Internal::PanasonicMakerNote::printRollAngle
static std::ostream & printRollAngle(std::ostream &os, const Value &value, const ExifData *)
Print roll angle.
Definition: panasonicmn_int.cpp:705
Exiv2::undefined
@ undefined
Exif UNDEFINED type, an 8-bit byte that may contain anything.
Definition: types.hpp:137
Exiv2::Value::typeId
TypeId typeId() const
Return the type identifier (Exif data format type).
Definition: value.hpp:113
Exiv2::Internal::panasonicNoiseReduction
const TagDetails panasonicNoiseReduction[]
NoiseReduction, tag 0x002d.
Exiv2::Internal::panasonicMacro
const TagDetails panasonicMacro[]
Macro, tag 0x001c.
Exiv2::signedShort
@ signedShort
Exif SSHORT type, a 16-bit (2-byte) signed (twos-complement) integer.
Definition: types.hpp:138
Exiv2::Internal::panasonicTextStamp
const TagDetails panasonicTextStamp[]
TextStamp, tag 0x003b, 0x003e, 000x8008 and 0x8009.
Exiv2::Internal::PanasonicMakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Panasonic tags.
Definition: panasonicmn_int.cpp:541
Exiv2::Internal::PanasonicMakerNote
MakerNote for Panasonic cameras.
Definition: panasonicmn_int.hpp:53
Exiv2::asciiString
@ asciiString
Exif ASCII type, 8-bit byte.
Definition: types.hpp:132
Exiv2::Internal::PanasonicMakerNote::print0x000f
static std::ostream & print0x000f(std::ostream &os, const Value &value, const ExifData *)
Print SpotMode.
Definition: panasonicmn_int.cpp:547
Exiv2::Internal::panasonicFlashFired
const TagDetails panasonicFlashFired[]
Flash Fired, tag 0x8007.
Exiv2::Internal::panasonicFocusMode
const TagDetails panasonicFocusMode[]
FocusMode, tag 0x0007.
Exiv2::Internal::PanasonicMakerNote::print0x003c
static std::ostream & print0x003c(std::ostream &os, const Value &value, const ExifData *)
Print ISO.
Definition: panasonicmn_int.cpp:641
Exiv2::Value::count
virtual long count() const =0
Return the number of components of the value.
Exiv2::Internal::panasonicRotation
const TagDetails panasonicRotation[]
Rotation, tag 0x0030.
Exiv2::Internal::PanasonicMakerNote::print0x0029
static std::ostream & print0x0029(std::ostream &os, const Value &value, const ExifData *)
Print TimeSincePowerOn.
Definition: panasonicmn_int.cpp:591
Exiv2::unsignedLong
@ unsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
Definition: types.hpp:134
Exiv2::Internal::PanasonicMakerNote::printPressure
static std::ostream & printPressure(std::ostream &os, const Value &value, const ExifData *)
Print Manometer Pressure.
Definition: panasonicmn_int.cpp:683
Exiv2::Internal::PanasonicMakerNote::print0x0033
static std::ostream & print0x0033(std::ostream &os, const Value &value, const ExifData *)
Print Baby age.
Definition: panasonicmn_int.cpp:609
Exiv2::Internal::PanasonicMakerNote::printPanasonicText
static std::ostream & printPanasonicText(std::ostream &os, const Value &value, const ExifData *)
Print special text values: title, landmark, county and so on.
Definition: panasonicmn_int.cpp:660
Exiv2::Internal::PanasonicMakerNote::print0x0036
static std::ostream & print0x0036(std::ostream &os, const Value &value, const ExifData *)
Print Travel days.
Definition: panasonicmn_int.cpp:625
Exiv2::unsignedRational
@ unsignedRational
Exif RATIONAL type, two LONGs: numerator and denumerator of a fraction.
Definition: types.hpp:135
EXV_PRINT_TAG
#define EXV_PRINT_TAG(array)
Shortcut for the printTag template which requires typing the array name only once.
Definition: tags_int.hpp:241
Exiv2::Internal::panasonicColorEffect
const TagDetails panasonicColorEffect[]
ColorEffect, tag 0x0028.
Exiv2::Internal::panasonicFlashCurtain
const TagDetails panasonicFlashCurtain[]
Flash curtain, tag 0x0048.
Exiv2::Internal::print0x0112
std::ostream & print0x0112(std::ostream &os, const Value &value, const ExifData *metadata)
Print orientation.
Definition: tags_int.cpp:2373
Exiv2::Internal::panasonicShootingMode
const TagDetails panasonicShootingMode[]
ShootingMode, tag 0x001f and SceneMode, tag 0x8001.
Exiv2::Internal::panasonicAudio
const TagDetails panasonicAudio[]
Audio, tag 0x0020.
Exiv2::unsignedByte
@ unsignedByte
Exif BYTE type, 8-bit unsigned integer.
Definition: types.hpp:131
Exiv2::Internal::panasonicLongShutterNoiseReduction
const TagDetails panasonicLongShutterNoiseReduction[]
Long Shutter Noise Reduction, tag 0x0049.
Exiv2::Internal::printValue
std::ostream & printValue(std::ostream &os, const Value &value, const ExifData *)
Default print function, using the Value output operator.
Definition: tags_int.cpp:2162
Exiv2::Value::toString
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
Exiv2::Value::toLong
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...
Exiv2::unsignedShort
@ unsignedShort
Exif SHORT type, 16-bit (2-byte) unsigned integer.
Definition: types.hpp:133
Exiv2::Internal::panasonicShadingCompensation
const TagDetails panasonicShadingCompensation[]
Shading compensation, tag 0x008a.
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exiv2::Internal::panasonicAFAssistLamp
const TagDetails panasonicAFAssistLamp[]
AFAssistLamp, tag 0x0031.
value.hpp
Value interface and concrete subclasses.
Exiv2::Internal::panasonicTouchAE
const TagDetails panasonicTouchAE[]
Touch AE, tag 0x00ab.
Exiv2::Internal::panasonicBurstMode
const TagDetails panasonicBurstMode[]
BustMode, tag 0x002a.
Exiv2::Internal::panasonicColorMode
const TagDetails panasonicColorMode[]
ColorMode, tag 0x0032.
Exiv2::TagInfo
Tag information.
Definition: tags.hpp:82
Exiv2::Internal::panasonicWhiteBalance
const TagDetails panasonicWhiteBalance[]
WhiteBalance, tag 0x0003.
Exiv2::Internal::panasonicShutterType
const TagDetails panasonicShutterType[]
Shutter Type, tag 0x009f.
Exiv2::time
@ time
IPTC time type.
Definition: types.hpp:149
Exiv2::Internal::PanasonicMakerNote::printAccelerometer
static std::ostream & printAccelerometer(std::ostream &os, const Value &value, const ExifData *)
Print accerometer readings.
Definition: panasonicmn_int.cpp:697
Exiv2::Internal::PanasonicMakerNote::tagListRaw
static const TagInfo * tagListRaw()
Return read-only list of built-in Panasonic RAW image tags (IFD0)
Definition: panasonicmn_int.cpp:761
Exiv2::Internal::panasonicPhotoStyle
const TagDetails panasonicPhotoStyle[]
Photo Style, tag 0x0089.
Exiv2::Internal::panasonicContrast
const TagDetails panasonicContrast[]
Contrast, tag 0x002c.
Exiv2::Internal::panasonicSelfTimer
const TagDetails panasonicSelfTimer[]
SelfTimer, tag 0x002e.
Exiv2::Internal::panasonicQuality
const TagDetails panasonicQuality[]
Quality, tag 0x0001.
Exiv2::Internal::PanasonicMakerNote::print0x0023
static std::ostream & print0x0023(std::ostream &os, const Value &value, const ExifData *)
Print WhiteBalanceBias.
Definition: panasonicmn_int.cpp:574
tags_int.hpp
Internal Exif tag and type information.
Exiv2::Internal::panasonicBracketSettings
const TagDetails panasonicBracketSettings[]
Bracket Settings, tag 0x0045.
Exiv2::Internal::PanasonicMakerNote::printPitchAngle
static std::ostream & printPitchAngle(std::ostream &os, const Value &value, const ExifData *)
Print pitch angle.
Definition: panasonicmn_int.cpp:718
panasonicmn_int.hpp
Panasonic MakerNote implemented using the following references: Panasonic MakerNote Information by To...
Exiv2::Internal::panasonicClearRetouch
const TagDetails panasonicClearRetouch[]
Clear Retouch, tag 0x007c.
tags.hpp
Exif tag and type information.
Exiv2::Internal::panasonicCameraOrientation
const TagDetails panasonicCameraOrientation[]
Camera orientation, tag 0x008f.
Exiv2::Internal::panasonicFlashWarning
const TagDetails panasonicFlashWarning[]
Flash warning, tag 0x0062.
Exiv2::Internal::panasonicFilmMode
const TagDetails panasonicFilmMode[]
FilmMode, tag 0x0042.
Exiv2::Internal::printExifVersion
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:2834
Exiv2::Internal::panasonicSweepPanoramaDirection
const TagDetails panasonicSweepPanoramaDirection[]
Sweep panorama direction, tag 0x0093.
Exiv2::Internal::panasonicIntelligentExposure
const TagDetails panasonicIntelligentExposure[]
Intelligent exposure, tag 0x005d.
Exiv2::Internal::panasonicIntelligentResolution
const TagDetails panasonicIntelligentResolution[]
Intelligent resolution, tag 0x0070.
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