18 LineStream() : std::ostream(&_lsb) {
28 return _lsb.is_text_available();
49 return _lsb.has_newline();
std::string get_line()
Extracts and returns the next line (or partial line) of text available in the LineStream object.
bool is_text_available() const
Returns true if there is at least one line of text (or even a partial line) available in the LineStre...
std::string get_line()
Extracts the next line of text from the LineStreamBuf, and sets the has_newline() flag according to w...
bool has_newline() const
Returns true if the line of text most recently returned by get_line() was written out with a terminat...