540 #ifndef MFEM_GZSTREAM_H
541 #define MFEM_GZSTREAM_H
543 #include "../config/config.hpp"
547 #ifdef MFEM_USE_GZSTREAM
558 #ifdef MFEM_USE_GZSTREAM
562 static const int bufferSize = 8192;
566 char buffer[bufferSize];
574 setp( buffer, buffer + (bufferSize-1));
585 virtual int overflow(
int c = traits_type::eof());
598 void open(
char const * name,
char const *mode);
623 void open(
char const * name,
char const *mode =
"rb")
642 ifgzstream(
char const *name,
char const *mode =
"rb");
647 static bool maybe_gz(
const char *fn);
650 #ifdef MFEM_USE_GZSTREAM
665 void open(
char const * name,
char const *mode =
"wb6")
699 #endif // MFEM_GZSTREAM_H
virtual int overflow(int c=traits_type::eof())
static bool maybe_gz(const char *fn)
static char const * default_mode
ogzstream(char const *name, char const *mode="wb6")
igzstream(char const *name, char const *mode="rb")
ifgzstream(char const *name, char const *mode="rb")
ofgzstream(char const *name, char const *mode=default_mode)
void open(char const *name, char const *mode="wb6")
void open(char const *name, char const *mode="rb")
gzstreambuf * open(char const *name, char const *mode)
void open(char const *name, char const *mode)