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];
575 setp( buffer, buffer + (bufferSize-1));
586 virtual int overflow(
int c = traits_type::eof());
600 void open(
char const * name,
char const *mode);
625 void open(
char const * name,
char const *mode =
"rb")
644 ifgzstream(
char const *name,
char const *mode =
"rb");
649 static bool maybe_gz(
const char *fn);
656 #ifdef MFEM_USE_GZSTREAM
671 void open(
char const * name,
char const *mode =
"wb6")
709 #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)