3 #ifndef SPECTMORPH_STDIO_IN_HH
4 #define SPECTMORPH_STDIO_IN_HH
7 #include "smgenericin.hh"
17 StdioIn (FILE *file,
const std::string& filename);
20 static GenericIn* open (
const std::string& filename);
23 int read (
void *ptr,
size_t size);
24 bool skip (
size_t size);
25 unsigned char *
mmap_mem (
size_t& remaining);
Generic Input Stream.
Definition: smgenericin.hh:18
Definition: smstdioin.hh:13
int read(void *ptr, size_t size)
Definition: smstdioin.cc:48
bool skip(size_t size)
Definition: smstdioin.cc:54
size_t get_pos()
Definition: smstdioin.cc:68
unsigned char * mmap_mem(size_t &remaining)
Definition: smstdioin.cc:62
int get_byte()
Definition: smstdioin.cc:42
GenericIn * open_subfile(size_t pos, size_t len)
Definition: smstdioin.cc:74