|
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. | |
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 853 of file easy_parser.hpp.
|
delete |
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 864 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 869 of file easy_parser.hpp.
|
inlinenoexcept |
Consume all acquired content.
Definition at line 888 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 876 of file easy_parser.hpp.
|
private |
Definition at line 857 of file easy_parser.hpp.
|
private |
Definition at line 855 of file easy_parser.hpp.
|
private |
Definition at line 856 of file easy_parser.hpp.