#include <senf/Scheduler/ReadHelper.hh>
This predicate will terminate the read when the data read matches a given fixed string. All data up to and including the string matched is considered to be part of the data() portion, everything after the matched string is placed into the tail().
Definition at line 159 of file ReadHelper.hh.
Public Member Functions |
|
ReadUntil (std::string const &target) | |
std::string::size_type | operator() (std::string const &data) |
Public Attributes |
|
std::string | target |
senf::ReadUntil:: | ||||
ReadUntil | ( | std::string const & | target | ) |
Definition at line 29 of file ReadHelper.cci.
std::string::size_type senf::ReadUntil:: | ||||
operator() | ( | std::string const & | data | ) |
Definition at line 33 of file ReadHelper.cci.
std::string senf::ReadUntil:: | ||||
target | ||||
Definition at line 163 of file ReadHelper.hh.