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)
 
std::ptrdiff_t read (int fd)
 
template<typename T >
bool for_each (T f)
 

Private Member Functions

bool next_line (std::string *s)
 
bool next_line (std::string *s)
 

Private Attributes

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

Member Function Documentation

◆ for_each() [1/2]

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

◆ for_each() [2/2]

template<typename T >
bool LineReader::for_each ( T  f)

◆ next_line() [1/2]

bool LineReader::next_line ( std::string *  s)
private

◆ next_line() [2/2]

bool LineReader::next_line ( std::string *  s)
private

◆ read() [1/2]

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

◆ read() [2/2]

std::ptrdiff_t LineReader::read ( int  fd)

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: