Debian Codegraph @

cvd_src/image_io/missing_tiff.cxx

raw symbols SCIP
1 #include "cvd/internal/io/tiff.h"
2
3 using namespace CVD;
4
5 class CVD::TIFF::TIFFPimpl
6 {
7 };
8
9 namespace
10 {
11 [[noreturn]] void error()
12 {
13 throw Exceptions::Image_IO::MissingImageType("TIFF");
14 }
15 }
16
17 CVD::TIFF::Reader::Reader(std::istream& i)
18 {
19 error();
20 }
21
22 CVD::TIFF::Reader::~Reader()
23 {
24 }
25
26 std::string CVD::TIFF::Reader::datatype()
27 {
28 error();
29 }
30
31 std::string CVD::TIFF::Reader::name()
32 {
33 error();
34 }
35
36 bool CVD::TIFF::Reader::top_row_first()
37 {
38 error();
39 };
40
41 ImageRef CVD::TIFF::Reader::size()
42 {
43 error();
44 };
45
46 //Mechanically generate the pixel reading calls.
47 #define GEN1(X) \
48 void CVD::TIFF::Reader::get_raw_pixel_line(X*) { error(); }
49 #define GEN3(X) \
50 GEN1(X) \
51 GEN1(Rgb<X>) \
52 GEN1(Rgba<X>)
53
54 GEN1(bool)
55 GEN3(unsigned char)
56 GEN3(unsigned short)
57 GEN3(float)
58 GEN3(double)
59
60 class CVD::TIFF::TIFFWritePimpl
61 {
62 };
63
64 CVD::TIFF::tiff_writer::tiff_writer(std::ostream&, ImageRef, const std::string&, const std::map<std::string, Parameter<>>&)
65 {
66 error();
67 }
68
69 CVD::TIFF::tiff_writer::~tiff_writer()
70 {
71 }
72
73 #undef GEN1
74 //Mechanically generate the pixel reading calls.
75 #define GEN1(X) \
76 void CVD::TIFF::tiff_writer::write_raw_pixel_line(const X*) { error(); }
77
78 GEN1(bool)
79 GEN3(unsigned char)
80 GEN3(unsigned short)
81 GEN3(float)
82 GEN3(double)