SpectMorph
lib
smstdioout.hh
1
// Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2
3
#ifndef SPECTMORPH_STDIO_OUT_HH
4
#define SPECTMORPH_STDIO_OUT_HH
5
6
#include <string>
7
#include "smgenericout.hh"
8
9
namespace
SpectMorph
10
{
11
12
class
StdioOut
:
public
GenericOut
13
{
14
FILE *file;
15
16
StdioOut
(FILE *file);
17
public
:
18
static
GenericOut
* open (
const
std::string& filename);
19
20
~
StdioOut
();
21
int
put_byte
(
int
c);
22
int
write
(
const
void
*ptr,
size_t
size);
23
};
24
25
}
26
27
#endif
/* SPECTMORPH_STDIO_OUT_HH */
SpectMorph::StdioOut::write
int write(const void *ptr, size_t size)
Definition:
smstdioout.cc:45
SpectMorph::StdioOut::put_byte
int put_byte(int c)
Definition:
smstdioout.cc:39
SpectMorph::StdioOut
Definition:
smstdioout.hh:12
SpectMorph::GenericOut
Generic Output Stream.
Definition:
smgenericout.hh:17
Generated on Tue Sep 22 2020 14:36:30 for SpectMorph by
1.8.17