Accessible output stream.
More...
#include <JAccessibleBinaryStream.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...
|
|
Accessible output stream.
This class is a simple wrapper around the JAccessibleOutputStream class. It re-implements the method open() of the JAccessible interface for binary I/O.
Definition at line 65 of file JAccessibleBinaryStream.hh.
JLANG::JAccessibleBinaryOutputStream::JAccessibleBinaryOutputStream |
( |
| ) |
|
|
inline |
JLANG::JAccessibleBinaryOutputStream::JAccessibleBinaryOutputStream |
( |
const char * |
file_name | ) |
|
|
inline |
virtual void JLANG::JAccessibleBinaryOutputStream::open |
( |
const char * |
file_name | ) |
|
|
inlinevirtual |
virtual bool JLANG::JAccessibleOutputStream::is_open |
( |
| ) |
const |
|
inlinevirtualinherited |
virtual void JLANG::JAccessibleOutputStream::close |
( |
| ) |
|
|
inlinevirtualinherited |
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 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;
static bool do_throw
throw option
virtual const char * what() const
Get error message.
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: