Exiv2
sonymn_int.hpp
1// ***************************************************************** -*- C++ -*-
2/*
3 * Copyright (C) 2004-2021 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 */
20#ifndef SONYMN_INT_HPP_
21#define SONYMN_INT_HPP_
22
23// *****************************************************************************
24// included header files
25#include "tags.hpp"
26#include "types.hpp"
27#include "tiffcomposite_int.hpp"
28
29// + standard includes
30#include <string>
31#include <iosfwd>
32
33// *****************************************************************************
34// namespace extensions
35namespace Exiv2 {
36 namespace Internal {
37
38// *****************************************************************************
39// class definitions
40
43 public:
45 static const TagInfo* tagList();
47 static const TagInfo* tagListCs();
49 static const TagInfo* tagListCs2();
51 static const TagInfo* tagListFp();
52
53 static const TagInfo* tagList2010e();
54
56
57
58 static std::ostream& print0xb000(std::ostream&, const Value&, const ExifData*);
60 static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
61
62 private:
64 static const TagInfo tagInfo_[];
65 static const TagInfo tagInfoCs_[];
66 static const TagInfo tagInfoCs2_[];
67 static const TagInfo tagInfoFp_[];
68 static const TagInfo tagInfo2010e_[];
69 }; // class SonyMakerNote
70
71 DataBuf sonyTagDecipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
72 DataBuf sonyTagEncipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
73
74}} // namespace Internal, Exiv2
75
76#endif // #ifndef SONYMN_INT_HPP_
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
MakerNote for Sony cameras.
Definition: sonymn_int.hpp:42
static const TagInfo * tagListFp()
Return read-only list of built-in Sony FocusPosition tags.
Definition: sonymn_int.cpp:804
static const TagInfo * tagListCs()
Return read-only list of built-in Sony Standard Camera Settings tags.
Definition: sonymn_int.cpp:725
static const TagInfo * tagList()
Return read-only list of built-in Sony tags.
Definition: sonymn_int.cpp:491
static std::ostream & printImageSize(std::ostream &, const Value &, const ExifData *)
Print Full and Preview Image size.
Definition: sonymn_int.cpp:315
static std::ostream & print0xb000(std::ostream &, const Value &, const ExifData *)
Print Sony Camera Model.
Definition: sonymn_int.cpp:292
static const TagInfo * tagListCs2()
Return read-only list of built-in Sony Standard Camera Settings version 2 tags.
Definition: sonymn_int.cpp:789
Interface class for components of a TIFF directory hierarchy (Composite pattern). Both TIFF directori...
Definition: tiffcomposite_int.hpp:171
Common interface for all types of values used with metadata.
Definition: value.hpp:51
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Tag information.
Definition: tags.hpp:74