Blame src/panasonicmn_int.hpp

Packit 01d647
// ***************************************************************** -*- C++ -*-
Packit 01d647
/*
Packit 01d647
 * Copyright (C) 2004-2018 Exiv2 authors
Packit 01d647
 * This program is part of the Exiv2 distribution.
Packit 01d647
 *
Packit 01d647
 * This program is free software; you can redistribute it and/or
Packit 01d647
 * modify it under the terms of the GNU General Public License
Packit 01d647
 * as published by the Free Software Foundation; either version 2
Packit 01d647
 * of the License, or (at your option) any later version.
Packit 01d647
 *
Packit 01d647
 * This program is distributed in the hope that it will be useful,
Packit 01d647
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 01d647
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 01d647
 * GNU General Public License for more details.
Packit 01d647
 *
Packit 01d647
 * You should have received a copy of the GNU General Public License
Packit 01d647
 * along with this program; if not, write to the Free Software
Packit 01d647
 * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
Packit 01d647
 */
Packit 01d647
/*!
Packit 01d647
  @file    panasonicmn_int.hpp
Packit 01d647
  @brief   Panasonic MakerNote implemented using the following references:
Packit 01d647
           Panasonic MakerNote Information by Tom Hughes,
Packit 01d647
           Panasonic.pm of ExifTool by Phil Harvey,
Packit 01d647
           Panasonic Makernote Format Specification by Evan Hunter.
Packit 01d647
  @author  Andreas Huggel (ahu)
Packit 01d647
           ahuggel@gmx.net
Packit 01d647
  @author  Gilles Caulier (gc)
Packit 01d647
           caulier dot gilles at gmail dot com
Packit 01d647
  @date    11-Jun-05, ahu: created
Packit 01d647
 */
Packit 01d647
#ifndef PANASONICMN_INT_HPP_
Packit 01d647
#define PANASONICMN_INT_HPP_
Packit 01d647
Packit 01d647
// *****************************************************************************
Packit 01d647
// included header files
Packit 01d647
#include "tags.hpp"
Packit 01d647
#include "types.hpp"
Packit 01d647
Packit 01d647
// + standard includes
Packit 01d647
#include <string>
Packit 01d647
#include <iosfwd>
Packit 01d647
Packit 01d647
// *****************************************************************************
Packit 01d647
// namespace extensions
Packit 01d647
namespace Exiv2 {
Packit 01d647
    namespace Internal {
Packit 01d647
Packit 01d647
// *****************************************************************************
Packit 01d647
// class definitions
Packit 01d647
Packit 01d647
    //! MakerNote for Panasonic cameras
Packit 01d647
    class PanasonicMakerNote {
Packit 01d647
    public:
Packit 01d647
        //! Return read-only list of built-in Panasonic tags
Packit 01d647
        static const TagInfo* tagList();
Packit 01d647
        //! Return read-only list of built-in Panasonic RAW image tags (IFD0)
Packit 01d647
        static const TagInfo* tagListRaw();
Packit 01d647
Packit 01d647
        //! @name Print functions for Panasonic %MakerNote tags
Packit 01d647
        //@{
Packit 01d647
        //! Print SpotMode
Packit 01d647
        static std::ostream& print0x000f(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print WhiteBalanceBias
Packit 01d647
        static std::ostream& print0x0023(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print TimeSincePowerOn
Packit 01d647
        static std::ostream& print0x0029(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print Baby age
Packit 01d647
        static std::ostream& print0x0033(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print Travel days
Packit 01d647
        static std::ostream& print0x0036(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print ISO
Packit 01d647
        static std::ostream& print0x003c(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print Manometer Pressure
Packit 01d647
        static std::ostream& printPressure(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print special text values: title, landmark, county and so on
Packit 01d647
        static std::ostream& printPanasonicText(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print accerometer readings
Packit 01d647
        static std::ostream& printAccelerometer(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print roll angle
Packit 01d647
        static std::ostream& printRollAngle(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //! Print pitch angle
Packit 01d647
        static std::ostream& printPitchAngle(std::ostream& os, const Value& value, const ExifData*);
Packit 01d647
        //@}
Packit 01d647
Packit 01d647
    private:
Packit 01d647
        //! Makernote tag list
Packit 01d647
        static const TagInfo tagInfo_[];
Packit 01d647
        //! Taglist for IFD0 of Panasonic RAW images
Packit 01d647
        static const TagInfo tagInfoRaw_[];
Packit 01d647
Packit 01d647
    }; // class PanasonicMakerNote
Packit 01d647
Packit 01d647
}}                                      // namespace Internal, Exiv2
Packit 01d647
Packit 01d647
#endif                                  // #ifndef PANASONICMN_INT_HPP_