oemultiostream
class oemultiostream : public OEPlatform::oeostream
This class represents oemultiostream. This class can be used to write to more than one oeostream.
The following methods are publicly inherited from oeostream:
The following methods are publicly inherited from oestream:
Constructors
oemultiostream() -> oemultiostream
Default constructor.
addstream
addstream(ostr: oeostream, owned: bool = False) -> None
This method adds the stream ostr for output. The second parameter can be used to give ownership to the oemultiostream instance, which will make the instance responsible for deletion of the oeostream.
clear
clear() -> None
Clears all streams and deletes them if owned.