Coverage Report

Created: 2026-01-25 07:18

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/exiv2/src/pentaxmn_int.hpp
Line
Count
Source
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
3
#ifndef PENTAXMN_INT_HPP_
4
#define PENTAXMN_INT_HPP_
5
6
#include <iosfwd>
7
8
// *****************************************************************************
9
// namespace extensions
10
namespace Exiv2 {
11
struct TagInfo;
12
class ExifData;
13
class Value;
14
15
namespace Internal {
16
// *****************************************************************************
17
// class definitions
18
19
//! MakerNote for Pentaxfilm cameras
20
class PentaxMakerNote {
21
 public:
22
  //! Return read-only list of built-in Pentaxfilm tags
23
604
  static constexpr auto tagList() {
24
604
    return tagInfo_;
25
604
  }
26
27
  //! Print Pentax version
28
  static std::ostream& printVersion(std::ostream& os, const Value& value, const ExifData*);
29
  //! Print Pentax resolution
30
  static std::ostream& printResolution(std::ostream& os, const Value& value, const ExifData*);
31
  //! Print Pentax date
32
  static std::ostream& printDate(std::ostream& os, const Value& value, const ExifData*);
33
  //! Print Pentax time
34
  static std::ostream& printTime(std::ostream& os, const Value& value, const ExifData*);
35
  //! Print Pentax exposure
36
  static std::ostream& printExposure(std::ostream& os, const Value& value, const ExifData*);
37
  //! Print Pentax F value
38
  static std::ostream& printFValue(std::ostream& os, const Value& value, const ExifData*);
39
  //! Print Pentax focal length
40
  static std::ostream& printFocalLength(std::ostream& os, const Value& value, const ExifData*);
41
  //! Print Pentax compensation
42
  static std::ostream& printCompensation(std::ostream& os, const Value& value, const ExifData*);
43
  //! Print Pentax temperature
44
  static std::ostream& printTemperature(std::ostream& os, const Value& value, const ExifData*);
45
  //! Print Pentax flash compensation
46
  static std::ostream& printFlashCompensation(std::ostream& os, const Value& value, const ExifData*);
47
  //! Print Pentax bracketing
48
  static std::ostream& printBracketing(std::ostream& os, const Value& value, const ExifData*);
49
  //! Print Pentax shutter count
50
  static std::ostream& printShutterCount(std::ostream& os, const Value& value, const ExifData*);
51
52
 private:
53
  //! Tag information
54
  static const TagInfo tagInfo_[];
55
};  // class PentaxMakerNote
56
57
}  // namespace Internal
58
}  // namespace Exiv2
59
60
#endif  // #ifndef PENTAXMN_INT_HPP_