RESTinio
|
A helper class to automatically return acquired content back to the input stream. More...
#include <easy_parser.hpp>
Public Member Functions | |
content_consumer_t ()=delete | |
content_consumer_t (const content_consumer_t &)=delete | |
content_consumer_t (content_consumer_t &&)=delete | |
content_consumer_t (source_t &from) noexcept | |
~content_consumer_t () noexcept | |
position_t | started_at () const noexcept |
void | commit () noexcept |
Consume all acquired content. More... | |
Private Attributes | |
source_t & | m_from |
const position_t | m_started_at |
bool | m_consumed { false } |
A helper class to automatically return acquired content back to the input stream.
Usage example:
Definition at line 850 of file easy_parser.hpp.
|
delete |
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 861 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 866 of file easy_parser.hpp.
|
inlinenoexcept |
Consume all acquired content.
Definition at line 885 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 873 of file easy_parser.hpp.
|
private |
Definition at line 854 of file easy_parser.hpp.
|
private |
Definition at line 852 of file easy_parser.hpp.
|
private |
Definition at line 853 of file easy_parser.hpp.