SpectMorph
smgenericout.hh
1 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl-2.1.html
2 
3 #ifndef SPECTMORPH_GENERIC_OUT_HH
4 #define SPECTMORPH_GENERIC_OUT_HH
5 
6 #include <string>
7 
8 namespace SpectMorph
9 {
10 
18 {
19 public:
20  virtual ~GenericOut();
21 
28  virtual int put_byte (int c) = 0; // like fputc
36  virtual int write (const void *ptr, size_t size) = 0;
37 };
38 
39 }
40 
41 #endif /* SPECTMORPH_GENERIC_OUT_HH */
Generic Output Stream.
Definition: smgenericout.hh:18
virtual int put_byte(int c)=0
virtual int write(const void *ptr, size_t size)=0