Jpp
16.0.0-rc.2
the software that should make you happy
|
Object reading from gzipped file. More...
#include <JGZFileWriter.hh>
Public Member Functions | |
JGZFileWriter () | |
Default constructor. More... | |
JGZFileWriter (const char *file_name) | |
Constructor. More... | |
JGZFileWriter (const char *file_name, const std::string &sep) | |
Constructor. More... | |
virtual bool | is_open () const override |
Check is file is open. More... | |
virtual void | open (const char *file_name) override |
Open file. More... | |
virtual void | close () override |
Close file. More... | |
void | open (const char *name, int open_mode=std::ios::out) |
gzstreambuf * | rdbuf () |
virtual bool | put (const T &object) override |
Object output. More... | |
const std::string & | getSeparator () const |
Get token separator. More... | |
void | setSeparator (const std::string &sep) |
Set token separator. More... | |
Static Public Member Functions | |
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... | |
Protected Attributes | |
gzstreambuf | buf |
Static Protected Attributes | |
static bool | do_throw |
throw option More... | |
Object reading from gzipped file.
This class implements the JAccessibleObjectIterator interface.
Definition at line 28 of file JGZFileWriter.hh.
|
inline |
Default constructor.
Definition at line 37 of file JGZFileWriter.hh.
|
inline |
Constructor.
file_name | file name |
Definition at line 48 of file JGZFileWriter.hh.
|
inline |
Constructor.
file_name | file name |
sep | token separator |
Definition at line 61 of file JGZFileWriter.hh.
|
inlineoverridevirtual |
Check is file is open.
Implements JLANG::JAccessible.
Definition at line 74 of file JGZFileWriter.hh.
|
inlineoverridevirtual |
Open file.
file_name | file name |
Implements JLANG::JAccessible.
Definition at line 85 of file JGZFileWriter.hh.
|
inlineoverridevirtual |
|
inlineinherited |
Definition at line 218 of file gzstream.h.
|
inlineinherited |
Definition at line 193 of file gzstream.h.
|
inlineoverridevirtualinherited |
Object output.
object | object |
Implements JLANG::JObjectOutput< T >.
Definition at line 51 of file JStreamObjectOutput.hh.
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
Throw exception or return error.
error | exception |
value | return code |
Definition at line 50 of file JThrow.hh.
|
protectedinherited |
Definition at line 169 of file gzstream.h.
|
staticprotectedinherited |