MultiplexStream

Inheritance:

Methods of MultiplexStream:

Methods of ostream:

addFile
bool MultiplexStream::add_file(Filename file);

Description: Adds the given file to the multiplex output. The file is opened in append mode with line buffering. Returns false if the file cannot be opened.

addOstream
void MultiplexStream::add_ostream(ostream *out, bool delete_later = (0));

Description: Adds the indicated generic ostream to the multiplex output. The ostream will receive whatever data is sent to the pipe.

addStandardOutput
void MultiplexStream::add_standard_output(void);

Description: Adds the standard output channel.

addStdioFile
bool MultiplexStream::add_stdio_file(FILE *file, bool close_when_done);

Description: Adds the given file, previously opened using the C stdio library, to the multiplex output.

addSystemDebug
void MultiplexStream::add_system_debug(void);

Description: Adds the system debug output the the multiplex output. This may map to a syslog or some such os-specific output system. It may do nothing on a particular system.
Presently, this maps only to OutputDebugString() on Windows.

flush
void MultiplexStream::flush(void);

Description: Forces out all output that hasn't yet been written.

flush
void ostream::flush(void);

Undocumented function.

put
void ostream::put(char c);

Undocumented function.