You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
3.1 KiB
C++
82 lines
3.1 KiB
C++
20 years ago
|
// ***************************************************************** -*- C++ -*-
|
||
|
/*
|
||
15 years ago
|
* Copyright (C) 2004-2010 Andreas Huggel <ahuggel@gmx.net>
|
||
20 years ago
|
*
|
||
20 years ago
|
* 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.
|
||
20 years ago
|
*
|
||
20 years ago
|
* 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.
|
||
20 years ago
|
*
|
||
20 years ago
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with this program; if not, write to the Free Software
|
||
20 years ago
|
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
|
||
20 years ago
|
*/
|
||
|
/*!
|
||
15 years ago
|
@file sonymn_int.hpp
|
||
15 years ago
|
@brief Sony MakerNote implemented using the following references:<br>
|
||
|
<a href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Sony.html">Sony Makernote list</a> by Phil Harvey<br>
|
||
|
Email communication with <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a><br>
|
||
|
|
||
20 years ago
|
@version $Rev$
|
||
|
@author Andreas Huggel (ahu)
|
||
|
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
|
||
15 years ago
|
@author Gilles Caulier (cgilles)
|
||
|
<a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
|
||
20 years ago
|
@date 18-Apr-05, ahu: created
|
||
|
*/
|
||
15 years ago
|
#ifndef SONYMN_INT_HPP_
|
||
|
#define SONYMN_INT_HPP_
|
||
20 years ago
|
|
||
|
// *****************************************************************************
|
||
|
// included header files
|
||
|
#include "tags.hpp"
|
||
17 years ago
|
#include "types.hpp"
|
||
20 years ago
|
|
||
|
// + standard includes
|
||
|
#include <string>
|
||
|
#include <iosfwd>
|
||
|
|
||
|
// *****************************************************************************
|
||
|
// namespace extensions
|
||
|
namespace Exiv2 {
|
||
15 years ago
|
namespace Internal {
|
||
20 years ago
|
|
||
|
// *****************************************************************************
|
||
|
// class definitions
|
||
|
|
||
|
//! MakerNote for Sony cameras
|
||
15 years ago
|
class SonyMakerNote {
|
||
20 years ago
|
public:
|
||
19 years ago
|
//! Return read-only list of built-in Sony tags
|
||
|
static const TagInfo* tagList();
|
||
15 years ago
|
//! Return read-only list of built-in Sony Standard Camera Settings tags
|
||
|
static const TagInfo* tagListCs();
|
||
15 years ago
|
//! Return read-only list of built-in Sony Standard Camera Settings version 2 tags
|
||
|
static const TagInfo* tagListCs2();
|
||
20 years ago
|
|
||
15 years ago
|
//! @name Print functions for Sony %MakerNote tags
|
||
|
//@{
|
||
15 years ago
|
//! Print Sony Camera Model
|
||
|
static std::ostream& print0xb000(std::ostream&, const Value&, const ExifData*);
|
||
|
//! Print Full and Preview Image size
|
||
|
static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
|
||
15 years ago
|
|
||
20 years ago
|
private:
|
||
|
//! Tag information
|
||
|
static const TagInfo tagInfo_[];
|
||
15 years ago
|
static const TagInfo tagInfoCs_[];
|
||
15 years ago
|
static const TagInfo tagInfoCs2_[];
|
||
20 years ago
|
|
||
|
}; // class SonyMakerNote
|
||
|
|
||
15 years ago
|
}} // namespace Internal, Exiv2
|
||
|
|
||
|
#endif // #ifndef SONYMN_INT_HPP_
|