Exiv2
sonymn_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 SONYMN_INT_HPP_
33 #define SONYMN_INT_HPP_
34 
35 // *****************************************************************************
36 // included header files
37 #include "tags.hpp"
38 #include "types.hpp"
39 #include "tiffcomposite_int.hpp"
40 
41 // + standard includes
42 #include <string>
43 #include <iosfwd>
44 
45 // *****************************************************************************
46 // namespace extensions
47 namespace Exiv2 {
48  namespace Internal {
49 
50 // *****************************************************************************
51 // class definitions
52 
54  class SonyMakerNote {
55  public:
57  static const TagInfo* tagList();
59  static const TagInfo* tagListCs();
61  static const TagInfo* tagListCs2();
63  static const TagInfo* tagListFp();
64 
66 
67  static std::ostream& print0xb000(std::ostream&, const Value&, const ExifData*);
70  static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
71 
72  private:
74  static const TagInfo tagInfo_[];
75  static const TagInfo tagInfoCs_[];
76  static const TagInfo tagInfoCs2_[];
77  static const TagInfo tagInfoFp_[];
78 
79  }; // class SonyMakerNote
80 
81  DataBuf sonyTagDecipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
82  DataBuf sonyTagEncipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
83 
84 }} // namespace Internal, Exiv2
85 
86 #endif // #ifndef SONYMN_INT_HPP_
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
static const TagInfo * tagListCs2()
Return read-only list of built-in Sony Standard Camera Settings version 2 tags.
Definition: sonymn_int.cpp:794
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:204
static const TagInfo * tagListCs()
Return read-only list of built-in Sony Standard Camera Settings tags.
Definition: sonymn_int.cpp:730
uint8_t byte
1 byte unsigned integer type.
Definition: types.hpp:105
static std::ostream & printImageSize(std::ostream &, const Value &, const ExifData *)
Print Full and Preview Image size.
Definition: sonymn_int.cpp:320
Type definitions for Exiv2 and related functionality.
static const TagInfo * tagListFp()
Return read-only list of built-in Sony FocusPosition tags.
Definition: sonymn_int.cpp:809
Interface class for components of a TIFF directory hierarchy (Composite pattern). Both TIFF directori...
Definition: tiffcomposite_int.hpp:174
Exif tag and type information.
Internal classes used in a TIFF composite structure.
static const TagInfo * tagList()
Return read-only list of built-in Sony tags.
Definition: sonymn_int.cpp:496
Common interface for all types of values used with metadata.
Definition: value.hpp:60
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:82
static std::ostream & print0xb000(std::ostream &, const Value &, const ExifData *)
Print Sony Camera Model.
Definition: sonymn_int.cpp:297
MakerNote for Sony cameras.
Definition: sonymn_int.hpp:54