senf::ReadUntil Struct Reference

ReadHelper predicate matching an arbitrary string. More...

#include <senf/Scheduler/ReadHelper.hh>

List of all members.


Detailed Description

ReadHelper predicate matching an arbitrary string.

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().

See also:
ReadHelper

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

Constructor & Destructor Documentation

senf::ReadUntil::
ReadUntil ( std::string const &  target )

Definition at line 29 of file ReadHelper.cci.


Member Function Documentation

std::string::size_type senf::ReadUntil::
operator() ( std::string const &  data )

Definition at line 33 of file ReadHelper.cci.


Member Data Documentation

std::string senf::ReadUntil::
target

Definition at line 163 of file ReadHelper.hh.


The documentation for this struct was generated from the following files: