// ***************************************************************** -*- C++ -*- /* * Copyright (C) 2004-2008 Andreas Huggel * * 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. * * 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ /*! @file olympusmn.hpp @brief Olympus makernote tags.
References:
[1] Exif file format, Appendix 1: MakerNote of Olympus Digicams by TsuruZoh Tachibanaya
[2] ExifTool by Phil Harvey
[3] Olympus Makernote Format Specification by Evan Hunter
[4] email communication with Will Stokes @version $Rev$ @author Andreas Huggel (ahu) ahuggel@gmx.net @author Will Stokes (wuz) wstokes@gmail.com @author Gilles Caulier (gc) caulier dot gilles at kdemail dot net @date 10-Mar-05, wuz: created */ #ifndef OLYMPUSMN_HPP_ #define OLYMPUSMN_HPP_ // ***************************************************************************** // included header files #include "tags.hpp" #include "types.hpp" // + standard includes #include #include #include // ***************************************************************************** // namespace extensions namespace Exiv2 { // ***************************************************************************** // class definitions //! MakerNote for Olympus cameras class EXIV2API OlympusMakerNote { public: //! Return read-only list of built-in Olympus tags static const TagInfo* tagList(); //! Return read-only list of built-in Olympus Camera Settings tags static const TagInfo* tagListCs(); //! Return read-only list of built-in Olympus Equipment tags static const TagInfo* tagListEq(); //! Return read-only list of built-in Olympus Raw Development tags static const TagInfo* tagListRd(); //! Return read-only list of built-in Olympus Raw Development 2 tags static const TagInfo* tagListRd2(); //! Return read-only list of built-in Olympus Image Processing tags static const TagInfo* tagListIp(); //! Return read-only list of built-in Olympus Focus Info tags static const TagInfo* tagListFi(); //! Return read-only list of built-in Olympus FE tags static const TagInfo* tagListFe(); //! Return read-only list of built-in Olympus Raw Info tags static const TagInfo* tagListRi(); //! @name Print functions for Olympus %MakerNote tags //@{ //! Print 'Special Mode' static std::ostream& print0x0200(std::ostream& os, const Value& value, const ExifData*); //! Print Digital Zoom Factor static std::ostream& print0x0204(std::ostream& os, const Value& value, const ExifData*); //! Print White Balance Mode static std::ostream& print0x1015(std::ostream& os, const Value& value, const ExifData*); //! Print Olympus camera settings Gradation static std::ostream& print0x050f(std::ostream& os, const Value& value, const ExifData*); //! Print Olympus camera settings Noise Filter static std::ostream& print0x0527(std::ostream& os, const Value& value, const ExifData*); //@} private: //! Tag information static const TagInfo tagInfo_[]; static const TagInfo tagInfoCs_[]; static const TagInfo tagInfoEq_[]; static const TagInfo tagInfoRd_[]; static const TagInfo tagInfoRd2_[]; static const TagInfo tagInfoIp_[]; static const TagInfo tagInfoFi_[]; static const TagInfo tagInfoFe_[]; static const TagInfo tagInfoRi_[]; }; // class OlympusMakerNote } // namespace Exiv2 #endif // #ifndef OLYMPUSMN_HPP_