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);
size_t get_pos()
Definition: smstdioin.cc:68
GenericIn * open_subfile(size_t pos, size_t len)
Definition: smstdioin.cc:74
Generic Input Stream.
Definition: smgenericin.hh:17
Definition: smstdioin.hh:12
int get_byte()
Definition: smstdioin.cc:42
unsigned char * mmap_mem(size_t &remaining)
Definition: smstdioin.cc:62
bool skip(size_t size)
Definition: smstdioin.cc:54
Definition: smalignedarray.cc:7
int read(void *ptr, size_t size)
Definition: smstdioin.cc:48