HDK
|
An output stream object that owns its own string buffer storage. More...
#include <UT_StringStream.h>
Public Member Functions | |
UT_OStringStream (exint reserved_size=-1) | |
int64 | getMemoryUsage (bool inclusive) const |
UT_StringStreamBuffer * | rdbuf () const |
Returns the underlying stream buffer object. More... | |
const UT_WorkBuffer & | str () |
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 output stream object that owns its own string buffer storage.
Definition at line 159 of file UT_StringStream.h.
|
inline |
Start with an empty string buffer with a given size reservation, if it is known in advance how much data will be written out.
Definition at line 164 of file UT_StringStream.h.
|
inline |
Definition at line 168 of file UT_StringStream.h.
|
inline |
Returns the underlying stream buffer object.
Definition at line 177 of file UT_StringStream.h.
Resets the input stream and clears all existing input data.
Definition at line 183 of file UT_StringStream.h.
|
inline |
Returns a read-only reference to the underlying UT_WorkBuffer.
Definition at line 180 of file UT_StringStream.h.