#include <iostream_dualinoutput.h>
Advanced Interface of InOutputStreamInterface which allows to create an InOutputStreamInterface where the read and write has two different stream handles. One stream is for reading, the other for writing data.
Public Member Functions | |
MAXON_METHOD Result< void > | SetInputStream (const InputStreamRef &inputStream) |
MAXON_METHOD Result< void > | SetOutputStream (const OutputStreamRef &outputStream) |
MAXON_METHOD InputStreamRef | GetInputStream () const |
MAXON_METHOD OutputStreamRef | GetOutputStream () const |
Private Member Functions | |
MAXON_INTERFACE (IoDualInOutputStreamInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.iodualinoutputstream") | |
|
private |
MAXON_METHOD Result<void> SetInputStream | ( | const InputStreamRef & | inputStream | ) |
Sets the handle for the input stream used for reading.
[in] | inputStream | Reference to the stream used for read. |
MAXON_METHOD Result<void> SetOutputStream | ( | const OutputStreamRef & | outputStream | ) |
Sets the handle for the output stream used for writing.
[in] | outputStream | Reference to the stream used for write. |
MAXON_METHOD InputStreamRef GetInputStream | ( | ) | const |
Returns the handle used for reading.
MAXON_METHOD OutputStreamRef GetOutputStream | ( | ) | const |
Returns the handle used for writing.