Coverage Report

Created: 2026-03-12 07:14

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/exiv2/src/sigmamn_int.hpp
Line
Count
Source
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
3
#ifndef SIGMAMN_INT_HPP_
4
#define SIGMAMN_INT_HPP_
5
6
// *****************************************************************************
7
// included header files
8
#include <iosfwd>
9
10
// *****************************************************************************
11
// namespace extensions
12
namespace Exiv2 {
13
class ExifData;
14
class Value;
15
struct TagInfo;
16
17
namespace Internal {
18
// *****************************************************************************
19
// class definitions
20
21
//! MakerNote for Sigma (Foveon) cameras
22
class SigmaMakerNote {
23
 public:
24
  //! Return read-only list of built-in Sigma tags
25
0
  static constexpr auto tagList() {
26
0
    return tagInfo_;
27
0
  }
28
29
  //! @name Print functions for Sigma (Foveon) %MakerNote tags
30
  //@{
31
  //! Strip the label from the value and print the remainder
32
  static std::ostream& printStripLabel(std::ostream& os, const Value& value, const ExifData*);
33
  //! Print exposure mode
34
  static std::ostream& print0x0008(std::ostream& os, const Value& value, const ExifData*);
35
  //! Print metering mode
36
  static std::ostream& print0x0009(std::ostream& os, const Value& value, const ExifData*);
37
  //@}
38
39
 private:
40
  //! Tag information
41
  static const TagInfo tagInfo_[];
42
43
};  // class SigmaMakerNote
44
45
}  // namespace Internal
46
}  // namespace Exiv2
47
48
#endif  // #ifndef SIGMAMN_INT_HPP_