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_t &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]
Default constructor. 
Definition at line 37 of file JGZFileWriter.hh.
Template implementation of stream output for single data type.
 
 
 
 
◆ JGZFileWriter() [2/3]
Constructor. 
- Parameters
 - 
  
  
 
Definition at line 48 of file JGZFileWriter.hh.
JAccessible()
Default constructor.
 
 
 
 
◆ 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]
Open file. 
- Parameters
 - 
  
  
 
Implements JLANG::JAccessible.
Definition at line 85 of file JGZFileWriter.hh.
Exception for opening of file.
 
virtual bool is_open() const override
Check is file is open.
 
static void Throw(const bool option)
Enable/disable throw option.
 
void open(const char *name, int open_mode=std::ios::out)
 
 
 
 
◆ close()
◆ open() [2/2]
  
  
      
        
          | void ogzstream::open  | 
          ( | 
          const char *  | 
          name,  | 
         
        
           | 
           | 
          int  | 
          open_mode = std::ios::out  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 218 of file gzstream.h.
void open(const char *name, int open_mode)
 
 
 
 
◆ rdbuf()
◆ put()
template<class T > 
  
  | 
      
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
◆ getSeparator()
◆ setSeparator()
◆ Throw() [1/2]
Enable/disable throw option. 
- Parameters
 - 
  
    | option | true enable; false disable  | 
  
   
Definition at line 37 of file JThrow.hh.
static bool do_throw
throw option
 
 
 
 
◆ Throw() [2/2]
Throw exception or return error. 
- Parameters
 - 
  
    | error | exception  | 
    | value | return code  | 
  
   
- Returns
 - return code 
 
Definition at line 51 of file JThrow.hh.
   59       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: