Used by LineStream to implement an ostream that writes to a memory buffer, whose contents can be continuously extracted as a sequence of lines of text. More...
#include "lineStreamBuf.h"
Public Member Functions | |
std::string | get_line () |
Extracts the next line of text from the LineStreamBuf, and sets the has_newline() flag according to whether this line had a trailing newline or not. More... | |
bool | has_newline () const |
bool | is_text_available () const |
Used by LineStream to implement an ostream that writes to a memory buffer, whose contents can be continuously extracted as a sequence of lines of text.
Definition at line 26 of file lineStreamBuf.h.
string LineStreamBuf::get_line | ( | ) |
Extracts the next line of text from the LineStreamBuf, and sets the has_newline() flag according to whether this line had a trailing newline or not.
Definition at line 47 of file lineStreamBuf.cxx.
Referenced by LineStream::get_line().