Object(s) writing to ASCII file.
More...
#include <JASCIIFileWriter.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::JASCIIFileWriter< T >
Object(s) writing to ASCII file.
This class implements the JAccessibleObjectOutput interface.
Definition at line 27 of file JASCIIFileWriter.hh.
◆ JASCIIFileWriter() [1/3]
◆ JASCIIFileWriter() [2/3]
◆ JASCIIFileWriter() [3/3]
Constructor.
- Parameters
-
file_name | file name |
sep | token separator |
Definition at line 59 of file JASCIIFileWriter.hh.
◆ is_open()
virtual bool JLANG::JAccessibleOutputStream::is_open |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ open()
virtual void JLANG::JAccessibleOutputStream::open |
( |
const char * |
file_name | ) |
|
|
inlinevirtualinherited |
◆ close()
virtual void JLANG::JAccessibleOutputStream::close |
( |
| ) |
|
|
inlinevirtualinherited |
◆ 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;
◆ put()
◆ getSeparator()
◆ setSeparator()
◆ do_throw
throw option
Set default throw option to true
.
Definition at line 28 of file JThrow.hh.
◆ __out
◆ __sep
The documentation for this class was generated from the following file: