Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

WordWrapStreamBuf Class Reference

#include <wordWrapStreamBuf.h>

List of all members.

Public Member Functions

 WordWrapStreamBuf (WordWrapStream *owner, ProgramBase *program)
virtual ~WordWrapStreamBuf ()

Protected Member Functions

virtual int overflow (int c)
virtual int sync ()

Private Member Functions

void write_chars (const char *start, int length)
INLINE void set_literal_mode (bool mode)
void flush_data ()

Private Attributes

string _data
WordWrapStream_owner
ProgramBase_program
bool _literal_mode


Constructor & Destructor Documentation

WordWrapStreamBuf::WordWrapStreamBuf WordWrapStream owner,
ProgramBase program
 

Definition at line 36 of file wordWrapStreamBuf.cxx.

References _literal_mode, and program.

WordWrapStreamBuf::~WordWrapStreamBuf  )  [virtual]
 

Definition at line 49 of file wordWrapStreamBuf.cxx.

References sync().


Member Function Documentation

void WordWrapStreamBuf::flush_data  )  [private]
 

Definition at line 130 of file wordWrapStreamBuf.cxx.

References _data, _program, and ProgramBase::show_text().

Referenced by sync(), and write_chars().

int WordWrapStreamBuf::overflow int  c  )  [protected, virtual]
 

Definition at line 78 of file wordWrapStreamBuf.cxx.

References c, n, streamsize, sync(), and write_chars().

INLINE void WordWrapStreamBuf::set_literal_mode bool  mode  )  [private]
 

Referenced by write_chars().

int WordWrapStreamBuf::sync  )  [protected, virtual]
 

Definition at line 61 of file wordWrapStreamBuf.cxx.

References flush_data(), n, streamsize, and write_chars().

Referenced by overflow(), and ~WordWrapStreamBuf().

void WordWrapStreamBuf::write_chars const char *  start,
int  length
[private]
 

Definition at line 103 of file wordWrapStreamBuf.cxx.

References _data, _owner, flush_data(), Notify::get_literal_flag(), length, p, set_literal_mode(), size_t, and start.

Referenced by overflow(), and sync().


Member Data Documentation

string WordWrapStreamBuf::_data [private]
 

Definition at line 48 of file wordWrapStreamBuf.h.

Referenced by flush_data(), and write_chars().

bool WordWrapStreamBuf::_literal_mode [private]
 

Definition at line 51 of file wordWrapStreamBuf.h.

Referenced by WordWrapStreamBuf().

WordWrapStream* WordWrapStreamBuf::_owner [private]
 

Definition at line 49 of file wordWrapStreamBuf.h.

Referenced by write_chars().

ProgramBase* WordWrapStreamBuf::_program [private]
 

Definition at line 50 of file wordWrapStreamBuf.h.

Referenced by flush_data().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:31 2003 for Panda-Tool by doxygen1.3