21 LineStream() : ostream(&_lsb) {
34 return _lsb.is_text_available();
61 return _lsb.has_newline();
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...
bool has_newline() const
Returns true if the line of text most recently returned by get_line() was written out with a terminat...
string get_line()
Extracts and returns the next line (or partial line) of text available in the LineStream object...
string get_line()
Extracts the next line of text from the LineStreamBuf, and sets the has_newline() flag according to w...