Goby3  3.1.5a
2024.05.23
goby::middleware::io::match_regex Class Reference

Provides a matching function object for the boost::asio::async_read_until based on a std::regex. More...

#include <goby/middleware/io/line_based/common.h>

Public Member Functions

 match_regex (std::string eol)
 
template<typename Iterator >
std::pair< Iterator, booloperator() (Iterator begin, Iterator end) const
 

Detailed Description

Provides a matching function object for the boost::asio::async_read_until based on a std::regex.

Definition at line 52 of file common.h.

Constructor & Destructor Documentation

◆ match_regex()

goby::middleware::io::match_regex::match_regex ( std::string  eol)
inlineexplicit

Definition at line 55 of file common.h.

Member Function Documentation

◆ operator()()

template<typename Iterator >
std::pair<Iterator, bool> goby::middleware::io::match_regex::operator() ( Iterator  begin,
Iterator  end 
) const
inline

Definition at line 58 of file common.h.


The documentation for this class was generated from the following file: