Implementation of source which will acquire all the data from a std::basic_istream.
More...
#include <io_filter.h>
|
| | basic_stream_source (std::basic_istream< CharT > &in) |
| | Constructs new object with a given std::basic_istream to read data from. More...
|
| |
| std::streamsize | read (CharT *s, std::streamsize n) override |
| | Extracts at most n characters from the source into the provided s array. More...
|
| |
|
virtual | ~basic_source () noexcept=default |
| | Virtual constructor.
|
| |
template<typename CharT>
class servlet::basic_stream_source< CharT >
Implementation of source which will acquire all the data from a std::basic_istream.
- Template Parameters
-
- See Also
- basic_sink
template<typename CharT >
Constructs new object with a given std::basic_istream to read data from.
- Parameters
-
| in | input stream to read the data from. |
template<typename CharT >
Extracts at most n characters from the source into the provided s array.
- Parameters
-
| s | Pointer to an array where the extracted characters are stored. |
| n | Number of characters to extract. |
- Returns
- Number of characters actually extracted.
Implements servlet::basic_source< CharT >.
The documentation for this class was generated from the following file: