mod_servlet
C++Servlets
|
Abstract interface for generic source. More...
#include <io_filter.h>
Public Member Functions | |
virtual | ~basic_source () noexcept=default |
Virtual constructor. | |
virtual std::streamsize | read (CharT *s, std::streamsize n)=0 |
Extracts at most n characters from the source into the provided s array. More... | |
Abstract interface for generic source.
CharT | character type |
|
pure virtual |
Extracts at most n
characters from the source into the provided s
array.
s | Pointer to an array where the extracted characters are stored. |
n | Number of characters to extract. |
Implemented in servlet::basic_stream_source< CharT >, and servlet::basic_filtered_source< CharT >.