Exiv2
samsungmn_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  */
28 #ifndef SAMSUNGMN_INT_HPP_
29 #define SAMSUNGMN_INT_HPP_
30 
31 // *****************************************************************************
32 // included header files
33 #include "tags.hpp"
34 #include "types.hpp"
35 
36 // + standard includes
37 #include <string>
38 #include <iosfwd>
39 #include <memory>
40 
41 // *****************************************************************************
42 // namespace extensions
43 namespace Exiv2 {
44  namespace Internal {
45 
46 // *****************************************************************************
47 // class definitions
48 
51  public:
53  static const TagInfo* tagList();
55  static const TagInfo* tagListPw();
56 
57  private:
59  static const TagInfo tagInfo_[];
61  static const TagInfo tagInfoPw_[];
62 
63  }; // class Samsung2MakerNote
64 
65 }} // namespace Internal, Exiv2
66 
67 #endif // #ifndef SAMSUNGMN_INT_HPP_
Exiv2::Internal::samsung2LensType
const TagDetails samsung2LensType[]
LensType, tag 0xa003.
Exiv2::Internal::TagDetails
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:188
Exiv2::Internal::print0x829a
std::ostream & print0x829a(std::ostream &os, const Value &value, const ExifData *)
Print the exposure time.
Definition: tags_int.cpp:2408
Exiv2::Value
Common interface for all types of values used with metadata.
Definition: value.hpp:60
Exiv2::Internal::printCameraTemperature
std::ostream & printCameraTemperature(std::ostream &os, const Value &value, const ExifData *)
Print the camera temperature.
Definition: samsungmn_int.cpp:80
Exiv2::Internal::printFocalLength35
std::ostream & printFocalLength35(std::ostream &os, const Value &value, const ExifData *)
Print the 35mm focal length.
Definition: samsungmn_int.cpp:89
types.hpp
Type definitions for Exiv2 and related functionality.
Exiv2::Internal::Samsung2MakerNote
MakerNote for Samsung cameras.
Definition: samsungmn_int.hpp:50
Exiv2::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::Samsung2MakerNote::tagListPw
static const TagInfo * tagListPw()
Return read-only list of built-in PictureWizard tags.
Definition: samsungmn_int.cpp:200
Exiv2::asciiString
Exif ASCII type, 8-bit byte.
Definition: types.hpp:132
Exiv2::Internal::printValueMinus4
std::ostream & printValueMinus4(std::ostream &os, const Value &value, const ExifData *)
Print the tag value minus 4.
Definition: samsungmn_int.cpp:181
Exiv2::Value::count
virtual long count() const =0
Return the number of components of the value.
Exiv2::Internal::Samsung2MakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Samsung tags.
Definition: samsungmn_int.cpp:145
Exiv2::unsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
Definition: types.hpp:134
samsungmn_int.hpp
Samsung makernote tags. References: [1] ExifTool by Phil Harvey.
Exiv2::Value::toFloat
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 ...
Exiv2::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::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::Internal::samsung2SmartRange
const TagDetails samsung2SmartRange[]
SmartRange, tag 0xa012.
Exiv2::Internal::printPwColor
std::ostream & printPwColor(std::ostream &os, const Value &value, const ExifData *)
Print the PictureWizard Color tag value.
Definition: samsungmn_int.cpp:167
Exiv2::Internal::print0x9204
std::ostream & print0x9204(std::ostream &os, const Value &value, const ExifData *)
Print the exposure bias value.
Definition: tags_int.cpp:2518
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
Exif SHORT type, 16-bit (2-byte) unsigned integer.
Definition: types.hpp:133
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
value.hpp
Value interface and concrete subclasses.
Exiv2::signedLong
Exif SLONG type, a 32-bit (4-byte) signed (twos-complement) integer.
Definition: types.hpp:139
Exiv2::Internal::samsungPwMode
const TagDetails samsungPwMode[]
PictureWizard Mode.
Exiv2::signedRational
Exif SRATIONAL type, two SLONGs: numerator and denumerator of a fraction.
Definition: types.hpp:140
Exiv2::TagInfo
Tag information.
Definition: tags.hpp:82
Exiv2::Internal::samsung2ColorSpace
const TagDetails samsung2ColorSpace[]
ColorSpace, tag 0xa011.
Exiv2::Internal::print0x829d
std::ostream & print0x829d(std::ostream &os, const Value &value, const ExifData *)
Print the f-number.
Definition: tags_int.cpp:2431
tags_int.hpp
Internal Exif tag and type information.
tags.hpp
Exif tag and type information.
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::ExifData
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434