zstream.h | 54 izstream() : m_fp(0) {} 55 izstream(FILE* fp) : m_fp(0) { open(fp); } 56 izstream(const char* name) : m_fp(0) { open(name); } 66 if (m_fp) close(); 67 m_fp = ::gzopen(name, "rb"); 72 if (m_fp) close(); 73 m_fp = ::gzdopen(fileno(fp), "rb"); 81 int r = ::gzclose(m_fp); 82 m_fp = 0; return r; 88 return ::gzread(m_fp, buf, len) 104 gzFile m_fp; member in class:izstream 254 gzFile m_fp; member in class:ozstream [all...] |