|
Qore Programming Language
0.9.16
|
32 #ifndef _QORE_STRINGOUTPUTSTREAM_H
33 #define _QORE_STRINGOUTPUTSTREAM_H
36 #include "qore/OutputStream.h"
51 return "StringOutputStream";
66 buf->
concat((
const char*)ptr, count);
88 #endif // _QORE_STRINGOUTPUTSTREAM_H
Interface for private data of output streams.
Definition: OutputStream.h:44
const DLLEXPORT QoreEncoding * QCS_DEFAULT
the default encoding for the Qore library
const DLLLOCAL char * getName() override
Returns the name of the class.
Definition: StringOutputStream.h:50
long long int64
64bit integer type, cannot use int64_t here since it breaks the API on some 64-bit systems due to equ...
Definition: common.h:260
DLLLOCAL bool check(ExceptionSink *xsink)
Checks that the current thread is the same as when the instance was created or assigned via unassignT...
Definition: OutputStream.h:54
DLLLOCAL void write(const void *ptr, int64 count, ExceptionSink *xsink) override
Writes bytes to the output stream.
Definition: StringOutputStream.h:63
Private data for the Qore::StringOutputStream class.
Definition: StringOutputStream.h:41
DLLEXPORT void concat(const QoreString *str, ExceptionSink *xsink)
concatenates a string and converts encodings if necessary
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
DLLLOCAL void close(ExceptionSink *xsink) override
Flushes any buffered (unwritten) bytes, closes the output stream and releases resources.
Definition: StringOutputStream.h:58
DLLLOCAL bool isClosed() override
Returns true is the stream has been closed.
Definition: StringOutputStream.h:54
defines string encoding functions in Qore
Definition: QoreEncoding.h:83
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:50