SpectMorph
|
Generic Output Stream. More...
#include <smgenericout.hh>
Public Member Functions | |
virtual int | put_byte (int c)=0 |
virtual int | write (const void *ptr, size_t size)=0 |
Generic Output Stream.
This class is the abstract base class for different (binary) output streams like "to memory", "to file", ...
|
pure virtual |
Write one character into the output stream.
c | character to be written |
Implemented in SpectMorph::StdioOut, and SpectMorph::MemOut.
|
pure virtual |
Write a block of data into the stream.
ptr | pointer to the data to be written |
size | number of bytes to be written |
Implemented in SpectMorph::StdioOut, and SpectMorph::MemOut.