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