Base Framework
|
#include <base/string/StringOutputStream.h>
Inherits Object, and OutputStream.
Public Member Functions | |
StringOutputStreamWrapper () noexcept | |
void | ensureCapacity (MemorySize capacity) |
void | close () |
void | flush () |
void | restart () |
unsigned int | write (const uint8 *buffer, unsigned int size, bool nonblocking=false) |
const String & | getString () const noexcept |
~StringOutputStreamWrapper () | |
![]() | |
virtual | ~Stream () noexcept(false) |
![]() | |
ReferenceCountedObject () noexcept | |
ReferenceCountedObject (const ReferenceCountedObject ©) noexcept | |
ReferenceCountedObject (ReferenceCountedObject &&move) noexcept | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject ©) noexcept |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&move) noexcept |
MemorySize | getNumberOfReferences_INTERNAL () const noexcept |
virtual bool | useGarbageCollector () const noexcept |
![]() | |
DynamicObject () noexcept | |
bool | isValidObject () const noexcept |
virtual | ~DynamicObject () noexcept(false) |
_COM_AZURE_DEV__BASE__OVERRIDE_ALLOC () | |
Internal string output stream.
|
explicitnoexcept |
Initializes buffer.
StringOutputStreamWrapper::~StringOutputStreamWrapper | ( | ) |
Destructs buffer.
|
virtual |
Close stream.
Implements Stream.
void StringOutputStreamWrapper::ensureCapacity | ( | MemorySize | capacity | ) |
Reserves capacity in the internal buffer.
|
virtual |
Flush stream.
Implements OutputStream.
|
inlinenoexcept |
Returns string.
void StringOutputStreamWrapper::restart | ( | ) |
Restarts stream.
|
virtual |
Writes to string.
Implements OutputStream.