#include <mstream.h>
Inheritance diagram for OStream:
Public Methods | |
OStream (String &buffer, int mode=IO_Writable) | |
OStream (FILE *strm=stdout) | |
OStream (OStream &o) | |
void | flush () |
virtual void | copy (const OStream &other) |
virtual OStream & | printf (const char *format,...) |
Definition at line 102 of file mstream.h.
|
Opens a stream attached to the given string buffer. Example: String myBuffer; OStream(myBuffer) << "Put some text there " << 123 << 42.42 << '\n'; OStream(myBuffer, IO_Append) << " Some appended text";
Definition at line 231 of file mstream.cc. References IO_Writable. |
|
Definition at line 209 of file mstream.cc. |
|
Copy constructor.
Definition at line 217 of file mstream.cc. |
|
Standard copy operation.
Definition at line 246 of file mstream.cc. References Stream::copy(), and mAutoFlush. |
|
Flush the stream.
Definition at line 239 of file mstream.cc. References IODevice::flush(). |
|
Formatted printing to stream.
Reimplemented in TextOStream. Definition at line 259 of file mstream.cc. Referenced by Turtle::operator>>(). |