Serial Framework C++ Edition

◆ CwclStreamAdapter()

CwclStreamAdapter ( CwclStream *const  Stream,
const wclStreamOwnership  Ownership = soReference 
)

Creates new Stream Adapter object.

Parameters
StreamThe CwclStream object that needs to be "converted" to the IStream interface. If this parameter is NULL the wclEInvalidArgument exception raises.
OwnershipIndicates how the Stream Adapter owns the Stream object.
See also
CwclStream, wclStreamOwnership
Exceptions
wclEInvalidArgument