Panda3D
|
Used by WordWrapStream to implement an ostream that flushes its output to ProgramBase::show_text(). More...
#include "wordWrapStreamBuf.h"
Public Member Functions | |
WordWrapStreamBuf (WordWrapStream *owner, ProgramBase *program) | |
Protected Member Functions | |
virtual int | overflow (int c) |
Called by the system ostream implementation when its internal buffer is filled, plus one character. | |
virtual int | sync () |
Called by the system ostream implementation when the buffer should be flushed to output (for instance, on destruction). |
Used by WordWrapStream to implement an ostream that flushes its output to ProgramBase::show_text().
Definition at line 30 of file wordWrapStreamBuf.h.
int WordWrapStreamBuf::overflow | ( | int | c | ) | [protected, virtual] |
Called by the system ostream implementation when its internal buffer is filled, plus one character.
Definition at line 74 of file wordWrapStreamBuf.cxx.
References sync().
int WordWrapStreamBuf::sync | ( | void | ) | [protected, virtual] |
Called by the system ostream implementation when the buffer should be flushed to output (for instance, on destruction).
Definition at line 57 of file wordWrapStreamBuf.cxx.
Referenced by overflow().