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 defines string encoding functions in Qore 
Definition: QoreEncoding.h:83
 
DLLEXPORT const QoreEncoding * QCS_DEFAULT
the default encoding for the Qore library 
 
Private data for the Qore::StringOutputStream class. 
Definition: StringOutputStream.h:41
 
Interface for private data of output streams. 
Definition: OutputStream.h:44
 
Qore's string value type, reference counted, dynamically-allocated only. 
Definition: QoreStringNode.h:50
 
DLLEXPORT void concat(const QoreString *str, ExceptionSink *xsink)
concatenates a string and converts encodings if necessary 
 
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 close(ExceptionSink *xsink) override
Flushes any buffered (unwritten) bytes, closes the output stream and releases resources. 
Definition: StringOutputStream.h:58
 
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46
 
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 const char * getName() override
Returns the name of the class. 
Definition: StringOutputStream.h:50
 
DLLLOCAL bool isClosed() override
Returns true is the stream has been closed. 
Definition: StringOutputStream.h:54
 
DLLLOCAL void write(const void *ptr, int64 count, ExceptionSink *xsink) override
Writes bytes to the output stream. 
Definition: StringOutputStream.h:63