|
cartobase 6.0.6
|
Filtering output stream. More...
#include <cartobase/stream/fostreambuf.h>


Public Member Functions | |
Constructors, destructor | |
| fostreambuf (std::streambuf *sink, const Inserter &inserter, bool d=false) | |
| Initialize with another streambuf as the sink. | |
| fostreambuf (std::streambuf *sink, bool d=false) | |
| Initialize with another streambuf as the sink. | |
| virtual | ~fostreambuf () |
| Call sync(), delete the sink streambuf if asked to do so in the constructor. | |
Filtering | |
| Inserter & | inserter () |
| Actual filter. | |
Protected Member Functions | |
Put area | |
| virtual int | overflow (int c) |
Buffer management and positioning | |
| virtual int | sync () |
| virtual std::streambuf * | setbuf (char *p, int len) |
| pass on to the sink | |
Filtering output stream.
Definition at line 59 of file fostreambuf.h.
| carto::fostreambuf< Inserter >::fostreambuf | ( | std::streambuf * | sink, |
| const Inserter & | inserter, | ||
| bool | d = false ) |
Initialize with another streambuf as the sink.
| sink | sink streambuf |
| inserter | filter |
| d | delete the sink streambuf on exit |
References inserter().
| carto::fostreambuf< Inserter >::fostreambuf | ( | std::streambuf * | sink, |
| bool | d = false ) |
Initialize with another streambuf as the sink.
| sink | sink streambuf |
| d | delete the sink streambuf on exit |
|
virtual |
Call sync(), delete the sink streambuf if asked to do so in the constructor.
References inserter().
|
inline |
Actual filter.
Definition at line 156 of file fostreambuf.h.
Referenced by fostreambuf(), and ~fostreambuf().
|
protectedvirtual |
|
protectedvirtual |
pass on to the sink
| p | |
| len |
|
protectedvirtual |