HDK
|
An input stream object that owns its own string buffer storage. More...
#include <UT_StringStream.h>
Public Member Functions | |
UT_IStringStream (openmode m=ios_base::in) | |
UT_IStringStream (const UT_WorkBuffer &buf, openmode m=ios_base::in) | |
UT_IStringStream (const char *buf, exint len=-1, openmode m=ios_base::in) | |
UT_StringStreamBuffer * | rdbuf () const |
Returns the underlying stream buffer object. More... | |
const UT_WorkBuffer & | str () const |
Returns a read-only reference to the underlying UT_WorkBuffer. More... | |
void | reset () |
Resets the input stream and clears all existing input data. More... | |
An input stream object that owns its own string buffer storage.
Definition at line 197 of file UT_StringStream.h.
|
inlineexplicit |
Start with an empty string buffer. Use rdbuf()->swap() to swap in new data when required. Otherwise it will simply eof right from the start.
Definition at line 202 of file UT_StringStream.h.
|
inlineexplicit |
Populate the input stream with an existing UT_WorkBuffer. The contents of the buffer are copied into the internal storage. The input position start at the beginning of the buffer.
Definition at line 210 of file UT_StringStream.h.
|
inlineexplicit |
Populate the input stream with an existing raw character buffer. The contents of the buffer are copied into the internal storage. The input position start at the beginning of the buffer.
Definition at line 219 of file UT_StringStream.h.
|
inline |
Returns the underlying stream buffer object.
Definition at line 226 of file UT_StringStream.h.
Resets the input stream and clears all existing input data.
Definition at line 232 of file UT_StringStream.h.
|
inline |
Returns a read-only reference to the underlying UT_WorkBuffer.
Definition at line 229 of file UT_StringStream.h.