#include <fileops.h>

Public Member Functions | |
| gz_file () | |
| Default constructor. | |
| gz_file (const string &fname, gz_type t) | |
| virtual | ~gz_file () |
| Destructor. | |
| bool | open (const string &fname, gz_type t) |
| Opens a file. | |
| void | close () |
| Close the file that was opened. | |
| bool | is_open () |
| Returns whether the file is opened or not. | |
| bool | eof () |
| Returns whether the file is at it's end or not. | |
Protected Attributes | |
| gzFile | file |
| The actual gzFile. | |
Definition at line 52 of file fileops.h.
| gz_file::gz_file | ( | ) |
| gz_file::gz_file | ( | const string & | fname, | |
| gz_type | t | |||
| ) |
| fname | name of the file to open. | |
| t | access (READ or WRITE). |
Definition at line 39 of file fileops.cc.
| gz_file::~gz_file | ( | ) | [virtual] |
| bool gz_file::open | ( | const string & | fname, | |
| gz_type | t | |||
| ) |
Opens a file.
| fname | name of the file to open. | |
| t | access (READ or WRITE). |
Definition at line 50 of file fileops.cc.
| void gz_file::close | ( | ) |
| bool gz_file::is_open | ( | ) | [inline] |
| bool gz_file::eof | ( | ) | [inline] |
gzFile gz_file::file [protected] |
1.5.6