32 #ifndef _QORE_OUTPUTSTREAM_H
33 #define _QORE_OUTPUTSTREAM_H
35 #include "qore/AbstractPrivateData.h"
37 DLLEXPORT
extern QoreClass* QC_OUTPUTSTREAM;
68 #endif // _QORE_OUTPUTSTREAM_H
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:44
virtual void close(ExceptionSink *xsink)=0
Flushes any buffered (unwritten) bytes, closes the output stream and releases resources.
Interface for private data of output streams.
Definition: OutputStream.h:44
virtual void write(const void *ptr, int64 count, ExceptionSink *xsink)=0
Writes bytes to the output stream.
defines a Qore-language class
Definition: QoreClass.h:214
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:47
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:241
OutputStream()=default
Constructor.