[ Lit Window Library at SourceForge[ Lit Window Productions Homepage ]  [ wxWidgets Tips&Tricks ]  [  wxVisualSetup ]

Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

wrapping_ostrstream Class Reference

An output stream writing data into a wraparound buffer located in memory.

Collaboration diagram for wrapping_ostrstream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void clear_buffer ()
 Clears the entire buffer.
std::streamsize copy (std::string &destination) const
 Copies the entire buffer to the destination.
wrapping_strstreambufrdbuf () const
void set_dumper (wrapping_strstreambuf::get_dumper_t new_dump_function)
 wrapping_ostrstream (std::streamsize _Count=0x10000, wrapping_strstreambuf::get_dumper_t dumper=0)
 Construct a wrapping ostrstream.

Protected Attributes

wrapping_strstreambuf _Mysb

Constructor & Destructor Documentation

BEGIN_LITWINDOW_NS wrapping_ostrstream std::streamsize  _Count = 0x10000,
wrapping_strstreambuf::get_dumper_t  dumper = 0
 

_Count is the size of the wraparound buffer.


Member Function Documentation

void clear_buffer  ) 
 

streamsize copy std::string &  destination  )  const
 

wrapping_strstreambuf* rdbuf  )  const
 

void set_dumper wrapping_strstreambuf::get_dumper_t  new_dump_function  ) 
 


Member Data Documentation

wrapping_strstreambuf _Mysb [protected]
 


Copyright 2004, Hajo Kirchhoff, Lit Window Productions