nngn
Loading...
Searching...
No Matches
LineReader Class Reference

#include <reader.h>

Public Member Functions

std::ptrdiff_t read (int fd)
 
template<typename T >
bool for_each (T f)
 

Private Member Functions

bool next_line (std::string *s)
 

Private Attributes

std::string buf = std::string(4096, 0)
 
std::stringstream ss = {}
 

Member Function Documentation

◆ for_each()

template<typename T >
bool LineReader::for_each ( T f)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ next_line()

bool LineReader::next_line ( std::string * s)
private
Here is the caller graph for this function:

◆ read()

std::ptrdiff_t LineReader::read ( int fd)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ buf

std::string LineReader::buf = std::string(4096, 0)
private

◆ ss

std::stringstream LineReader::ss = {}
private

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