20 INLINE MultiplexStream::
21 MultiplexStream() : ostream(&_msb) {
35 MultiplexStreamBuf::OT_ostream,
36 out, NULL, delete_later);
48 MultiplexStreamBuf::OT_ostream,
49 NULL, fout, close_when_done);
61 MultiplexStreamBuf::OT_ostream,
75 pofstream *out =
new pofstream;
80 out->setf(ios::unitbuf);
83 MultiplexStreamBuf::OT_ostream,
102 MultiplexStreamBuf::OT_system_debug);
void set_text()
Indicates that the filename represents a text file.
void flush()
Forces out all output that hasn't yet been written.
void flush()
Forces out all output that hasn't yet been written.
bool open_append(ofstream &stream) const
Opens the indicated ofstream for writing the file, if possible.
bool add_file(Filename file)
Adds the given file to the multiplex output.
void add_ostream(ostream *out, bool delete_later=false)
Adds the indicated generic ostream to the multiplex output.
void add_output(BufferType buffer_type, OutputType output_type, ostream *out=(ostream *) NULL, FILE *fout=(FILE *) NULL, bool owns_obj=false)
Adds the indicated output destinition to the set of things that will be written to when characters ar...
void add_system_debug()
Adds the system debug output the the multiplex output.
The name of a file, such as a texture file or an Egg file.
void add_standard_output()
Adds the standard output channel.
bool add_stdio_file(FILE *file, bool close_when_done)
Adds the given file, previously opened using the C stdio library, to the multiplex output...