SpectMorph
smgenericout.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.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 */
virtual int write(const void *ptr, size_t size)=0
virtual int put_byte(int c)=0
Definition: smalignedarray.cc:7
Generic Output Stream.
Definition: smgenericout.hh:17