|
mod_servlet
C++Servlets
|
Abstract interface for generic sink. More...
#include <io_filter.h>
Public Member Functions | |
| virtual | ~basic_sink () noexcept=default |
| Virtual constructor. | |
| virtual std::streamsize | write (CharT *s, std::streamsize n)=0 |
Writes the first n characters of array s into the sink. More... | |
| virtual void | flush () |
| Flush sink if it can be flushed. More... | |
Abstract interface for generic sink.
| CharT | character type |
|
inlinevirtual |
Flush sink if it can be flushed.
Otherwise do nothing.
Reimplemented in servlet::basic_filtered_sink< CharT >.
|
pure virtual |
Writes the first n characters of array s into the sink.
| s | Pointer to an array of at least n elements |
| n | Number of characters to write. |
Implemented in servlet::basic_stream_sink< CharT >, and servlet::basic_filtered_sink< CharT >.