Object reading from gzipped file.
More...
#include <JGZFileWriter.hh>
|
| static void | Throw (const bool option) |
| | Enable/disable throw option. More...
|
| |
| static int | Throw (const JException &error, const int value=-1) |
| | Throw exception or return error. More...
|
| |
template<class T>
class JLANG::JGZFileWriter< T >
Object reading from gzipped file.
This class implements the JAccessibleObjectIterator interface.
Definition at line 28 of file JGZFileWriter.hh.
◆ JGZFileWriter() [1/3]
◆ JGZFileWriter() [2/3]
◆ JGZFileWriter() [3/3]
Constructor.
- Parameters
-
| file_name | file name |
| sep | token separator |
Definition at line 61 of file JGZFileWriter.hh.
◆ is_open()
◆ open() [1/2]
◆ close()
◆ open() [2/2]
| void ogzstream::open |
( |
const char * |
name, |
|
|
int |
open_mode = std::ios::out |
|
) |
| |
|
inlineinherited |
◆ rdbuf()
◆ put()
◆ getSeparator()
◆ setSeparator()
◆ Throw() [1/2]
Enable/disable throw option.
- Parameters
-
| option | true enable; false disable |
Definition at line 37 of file JThrow.hh.
◆ Throw() [2/2]
Throw exception or return error.
- Parameters
-
| error | exception |
| value | return code |
- Returns
- return code
Definition at line 50 of file JThrow.hh.
58 cerr << error.
what() << endl;
◆ buf
◆ __out
◆ __sep
◆ do_throw
throw option
Set default throw option to true.
Definition at line 28 of file JThrow.hh.
The documentation for this class was generated from the following file: