Accessible binary input stream.
More...
#include <JAccessibleBinaryStream.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...
|
|
Accessible binary input stream.
This class is a simple wrapper around the JAccessibleInputStream class. It re-implements the method open() of the JAccessible interface for binary I/O.
Definition at line 25 of file JAccessibleBinaryStream.hh.
◆ JAccessibleBinaryInputStream() [1/2]
JLANG::JAccessibleBinaryInputStream::JAccessibleBinaryInputStream |
( |
| ) |
|
|
inline |
◆ JAccessibleBinaryInputStream() [2/2]
JLANG::JAccessibleBinaryInputStream::JAccessibleBinaryInputStream |
( |
const char * |
file_name | ) |
|
|
inline |
◆ open()
virtual void JLANG::JAccessibleBinaryInputStream::open |
( |
const char * |
file_name | ) |
|
|
inlineoverridevirtual |
◆ is_open()
virtual bool JLANG::JAccessibleInputStream::is_open |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ close()
virtual void JLANG::JAccessibleInputStream::close |
( |
| ) |
|
|
inlinevirtualinherited |
◆ 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;
◆ 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: