SpectMorph
Public Member Functions | Static Public Member Functions | List of all members
SpectMorph::StdioOut Class Reference
Inheritance diagram for SpectMorph::StdioOut:
SpectMorph::GenericOut

Public Member Functions

int put_byte (int c)
 
int write (const void *ptr, size_t size)
 

Static Public Member Functions

static GenericOutopen (const std::string &filename)
 

Member Function Documentation

int StdioOut::put_byte ( int  c)
virtual

Write one character into the output stream.

Parameters
ccharacter to be written
Returns
the character written, or EOF on error.

Implements SpectMorph::GenericOut.

int StdioOut::write ( const void *  ptr,
size_t  size 
)
virtual

Write a block of data into the stream.

Parameters
ptrpointer to the data to be written
sizenumber of bytes to be written
Returns
the number of bytes successfully written (can be 0)

Implements SpectMorph::GenericOut.


The documentation for this class was generated from the following files: