Buffer to split output on several streams.
More...
#include <charon-core/SplitStream.h>
|
| SplitStreamBuf (const std::vector< std::streambuf * > &buffers) |
| Constructor initializing the buffers array.
|
|
int | overflow (int c) |
| Write character in the case of overflow. More...
|
|
int | sync () |
| Sync stream buffers. More...
|
|
std::streamsize | xsputn (char const *str, std::streamsize size) |
| Write sequence of characters. More...
|
|
|
std::vector< std::streambuf * > | _buffers |
| pointer to stream buffers
|
|
Definition at line 32 of file SplitStream.h.
int SplitStreamBuf::overflow |
( |
int |
c | ) |
|
int SplitStreamBuf::sync |
( |
| ) |
|
std::streamsize SplitStreamBuf::xsputn |
( |
char const * |
str, |
|
|
std::streamsize |
size |
|
) |
| |
- Parameters
-
str | char array to put |
size | number of characters |
- Returns
- number of written characters
Definition at line 55 of file SplitStream.cpp.
References _buffers.
The documentation for this class was generated from the following files: