|
Jpp 19.3.0-rc.1
the software that should make you happy
|
Object reading from gzipped file. More...
#include <JGZFileWriter.hh>
Public Member Functions | |
| JGZFileWriter () | |
| Default constructor. | |
| JGZFileWriter (const char *file_name) | |
| Constructor. | |
| JGZFileWriter (const char *file_name, const std::string &sep) | |
| Constructor. | |
| virtual bool | is_open () const override |
| Check is file is open. | |
| virtual void | open (const char *file_name) override |
| Open file. | |
| virtual void | close () override |
| Close file. | |
| void | open (const char *name, int open_mode=std::ios::out) |
| gzstreambuf * | rdbuf () |
| virtual bool | put (const T &object) override |
| Object output. | |
| const std::string & | getSeparator () const |
| Get token separator. | |
| void | setSeparator (const std::string &sep) |
| Set token separator. | |
Static Public Member Functions | |
| static void | Throw (const bool option) |
| Enable/disable throw option. | |
| static int | Throw (const JException_t &error, const int value=-1) |
| Throw exception or return error. | |
Protected Attributes | |
| gzstreambuf | buf |
Static Protected Attributes | |
| static bool | do_throw |
| throw option | |
Private Attributes | |
| std::ostream & | __out |
| std::string | __sep |
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 |
|
protectedinherited |
Definition at line 169 of file gzstream.h.
|
privateinherited |
Definition at line 81 of file JStreamObjectOutput.hh.
|
privateinherited |
Definition at line 82 of file JStreamObjectOutput.hh.
|
staticprotectedinherited |