GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "c-file-ptr-stream.h"
Public Types | |
typedef int(* | close_fcn )(gzFile) |
typedef int | int_type |
Public Member Functions | |
c_zfile_ptr_buf (gzFile f_arg, close_fcn cf_arg=file_close) | |
~c_zfile_ptr_buf (void) | |
int | buf_close (void) |
void | clear (void) |
int | file_number () const |
int | flush (void) |
int_type | overflow (int_type) |
int_type | pbackfail (int_type) |
int | seek (off_t offset, int origin) |
std::streampos | seekoff (std::streamoff, std::ios::seekdir, std::ios::openmode=std::ios::in|std::ios::out) |
std::streampos | seekpos (std::streampos, std::ios::openmode=std::ios::in|std::ios::out) |
gzFile | stdiofile (void) |
int | sync (void) |
off_t | tell (void) |
int_type | uflow (void) |
int_type | underflow (void) |
std::streamsize | xsgetn (char *, std::streamsize) |
std::streamsize | xsputn (const char *, std::streamsize) |
Static Public Member Functions | |
static int | file_close (gzFile f) |
Protected Attributes | |
close_fcn | cf |
gzFile | f |
Private Member Functions | |
c_zfile_ptr_buf (const c_zfile_ptr_buf &) | |
c_zfile_ptr_buf & | operator= (const c_zfile_ptr_buf &) |
int_type | underflow_common (bool) |
Definition at line 150 of file c-file-ptr-stream.h.
typedef int(* c_zfile_ptr_buf::close_fcn)(gzFile) |
Definition at line 161 of file c-file-ptr-stream.h.
typedef int c_zfile_ptr_buf::int_type |
Definition at line 156 of file c-file-ptr-stream.h.
|
inline |
Definition at line 165 of file c-file-ptr-stream.h.
c_zfile_ptr_buf::~c_zfile_ptr_buf | ( | void | ) |
Definition at line 215 of file c-file-ptr-stream.cc.
References buf_close().
|
private |
Definition at line 347 of file c-file-ptr-stream.cc.
References cf, f, and flush().
Referenced by ~c_zfile_ptr_buf().
Definition at line 202 of file c-file-ptr-stream.h.
References f.
|
inlinestatic |
Definition at line 204 of file c-file-ptr-stream.h.
|
inline |
Definition at line 195 of file c-file-ptr-stream.h.
Definition at line 337 of file c-file-ptr-stream.cc.
References f.
Referenced by buf_close(), overflow(), and sync().
|
private |
c_zfile_ptr_buf::int_type c_zfile_ptr_buf::overflow | ( | int_type | c | ) |
Definition at line 223 of file c-file-ptr-stream.cc.
c_zfile_ptr_buf::int_type c_zfile_ptr_buf::pbackfail | ( | int_type | c | ) |
Definition at line 264 of file c-file-ptr-stream.cc.
References f.
Definition at line 197 of file c-file-ptr-stream.h.
References f.
std::streampos c_zfile_ptr_buf::seekoff | ( | std::streamoff | , |
std::ios::seekdir | , | ||
std::ios::openmode | = std::ios::in | std::ios::out |
||
) |
Definition at line 293 of file c-file-ptr-stream.cc.
References f, and seekdir_to_whence().
std::streampos c_zfile_ptr_buf::seekpos | ( | std::streampos | , |
std::ios::openmode | = std::ios::in | std::ios::out |
||
) |
Definition at line 312 of file c-file-ptr-stream.cc.
|
inline |
Definition at line 163 of file c-file-ptr-stream.h.
References f.
Definition at line 329 of file c-file-ptr-stream.cc.
References flush().
|
inline |
Definition at line 200 of file c-file-ptr-stream.h.
References f.
Definition at line 175 of file c-file-ptr-stream.h.
Definition at line 173 of file c-file-ptr-stream.h.
|
private |
Definition at line 239 of file c-file-ptr-stream.cc.
References f.
std::streamsize c_zfile_ptr_buf::xsgetn | ( | char * | s, |
std::streamsize | n | ||
) |
Definition at line 284 of file c-file-ptr-stream.cc.
References f.
std::streamsize c_zfile_ptr_buf::xsputn | ( | const char * | s, |
std::streamsize | n | ||
) |
Definition at line 275 of file c-file-ptr-stream.cc.
References f.
|
protected |
Definition at line 210 of file c-file-ptr-stream.h.
Referenced by buf_close().
|
protected |
Definition at line 208 of file c-file-ptr-stream.h.
Referenced by buf_close(), flush(), overflow(), pbackfail(), seekoff(), seekpos(), underflow_common(), xsgetn(), and xsputn().