Panda3D
|
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. | |
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.
LineStreamBuf::LineStreamBuf | ( | ) |
Definition at line 21 of file lineStreamBuf.cxx.
|
virtual |
Definition at line 36 of file lineStreamBuf.cxx.
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 46 of file lineStreamBuf.cxx.
Referenced by LineStream::get_line().
|
inline |
Definition at line 25 of file lineStreamBuf.I.
|
inline |
Definition at line 17 of file lineStreamBuf.I.