9#ifndef IGL_FILEMEMORYSTREAM_H 
   10#define IGL_FILEMEMORYSTREAM_H 
   34      std::ios_base::seekdir dir,
 
   35      std::ios_base::openmode )
 override  
   37      if (dir == std::ios_base::cur) 
 
   39        gbump(
static_cast<int>(off));
 
 
   47    pos_type 
seekpos(pos_type pos, std::ios_base::openmode which)
 override  
   49      return seekoff(pos, std::ios_base::beg, which);
 
 
 
   58        std::istream( static_cast<std::streambuf *>(this))
 
 
 
Definition FileMemoryStream.h:20
 
size_t size
Definition FileMemoryStream.h:23
 
pos_type seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode) override
Definition FileMemoryStream.h:32
 
pos_type seekpos(pos_type pos, std::ios_base::openmode which) override
Definition FileMemoryStream.h:47
 
char * p_start
Definition FileMemoryStream.h:21
 
char * p_end
Definition FileMemoryStream.h:22
 
FileMemoryBuffer(char const *first_elem, size_t size)
Definition FileMemoryStream.h:25
 
Class to convert a FILE * to an std::istream.
Definition FileMemoryStream.h:55
 
FileMemoryStream(char const *first_elem, size_t size)
Definition FileMemoryStream.h:56