io_image.hpp
Go to the documentation of this file.
1 
18 #ifndef IO_IMAGE_HPP
19 #define IO_IMAGE_HPP
20 
21 #include <string>
22 
23 namespace cpe
24 {
25 class image;
26 
30 class io_image
31 {
32 public:
33 
34  // ********************************************* //
35  // ********************************************* //
36  // Interface
37  // ********************************************* //
38  // ********************************************* //
39 
41  virtual image read(const std::string& filename) const=0;
42 
44  virtual void write(const image& im,const std::string& filename) const=0;
45 
46 
47  // ********************************************* //
48  // ********************************************* //
49  // Constructor/destructor
50  // ********************************************* //
51  // ********************************************* //
52 
54  virtual ~io_image();
55 
56 
57 private:
58 };
59 
60 
61 }
62 
63 #endif