Added is_open() so we can check if the open() succeeded.
This commit is contained in:
parent
bbde3b36bf
commit
2c920ae1df
1 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,8 @@ public:
|
||||||
|
|
||||||
void close() { gzbuf.close(); }
|
void close() { gzbuf.close(); }
|
||||||
|
|
||||||
|
bool is_open() { return gzbuf.is_open(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Not defined!
|
// Not defined!
|
||||||
fg_gzifstream( const fg_gzifstream& );
|
fg_gzifstream( const fg_gzifstream& );
|
||||||
|
@ -98,6 +100,9 @@ istream& skipcomment( istream& in );
|
||||||
#endif /* _FGSTREAM_HXX */
|
#endif /* _FGSTREAM_HXX */
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.9 1999/03/27 14:04:25 curt
|
||||||
|
// Added is_open() so we can check if the open() succeeded.
|
||||||
|
//
|
||||||
// Revision 1.8 1999/03/02 01:01:55 curt
|
// Revision 1.8 1999/03/02 01:01:55 curt
|
||||||
// Tweaks for compiling with native SGI compilers.
|
// Tweaks for compiling with native SGI compilers.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue