29 setg(
nullptr,
nullptr,
nullptr);
30 setp(
nullptr,
nullptr);
49 size_t nl = _data.find(
'\n');
50 if (nl == string::npos) {
53 string result = _data;
59 string result = _data.substr(0, nl);
60 _data = _data.substr(nl + 1);
70 std::streamsize n = pptr() - pbase();
71 write_chars(pbase(), n);
82 std::streamsize n = pptr() - pbase();
84 if (n != 0 && sync() != 0) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::string get_line()
Extracts the next line of text from the LineStreamBuf, and sets the has_newline() flag according to w...