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:

operator<

flush

putbyte

close

open

write

The following methods are publicly inherited from oestream:

operator bool

rewind

tell

eof

seek

length

size

Constructors

oemultiostream()

Default constructor.

addstream

void addstream(oeostream *ostr, bool owned=false)

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

void clear()

Clears all streams and deletes them if owned.