|
DLLLOCAL void | close (ExceptionSink *xsink) override |
| Flushes any buffered (unwritten) bytes, closes the output stream and releases resources. More...
|
|
DLLLOCAL const char * | getName () override |
| Returns the name of the class. More...
|
|
DLLLOCAL bool | isClosed () override |
| Returns true is the stream has been closed. More...
|
|
DLLLOCAL void | write (const void *ptr, int64 count, ExceptionSink *xsink) override |
| Writes bytes to the output stream. More...
|
|
DLLLOCAL bool | check (ExceptionSink *xsink) |
| Checks that the current thread is the same as when the instance was created or assigned via unassignThread() and reassignThread() and that the stream has not yet been closed. More...
|
|
DLLLOCAL void | closeHelper (ExceptionSink *xsink) |
| Helper method that checks that the current thread is the same as when the instance was created, that the stream has not yet been closed and calls close(). More...
|
|
DLLLOCAL void | writeHelper (const BinaryNode *data, ExceptionSink *xsink) |
| Helper method that checks that the current thread is the same as when the instance was created, that the stream has not yet been closed and calls write(). More...
|
|
DLLLOCAL void | writeHelper (const QoreString *data, ExceptionSink *xsink) |
| Helper method that checks that the current thread is the same as when the instance was created, that the stream has not yet been closed and calls write(). More...
|
|
DLLLOCAL bool | check (ExceptionSink *xsink) |
| Checks that the current thread is the same as when the instance was created or assigned via unassignThread() and reassignThread() and that the stream has not yet been closed. More...
|
|
DLLLOCAL int | getThreadId () |
| Get currently assigned thread id.
|
|
DLLLOCAL void | reassignThread (ExceptionSink *xsink) |
| Reassigns current thread as thread used for stream manipulation, see check() More...
|
|
DLLLOCAL void | unassignThread (ExceptionSink *xsink) |
| Unassigns current thread as thread used for stream manipulation, see check() More...
|
|
virtual DLLLOCAL void | deref () |
| decrements the reference count of the object without the possibility of throwing a Qore-language exception
|
|
virtual DLLLOCAL void | deref (ExceptionSink *xsink) |
| decrements the reference count of the object More...
|
|
DLLLOCAL void | ref () const |
| increments the reference count of the object
|
|
DLLEXPORT | QoreReferenceCounter () |
| creates the reference counter object
|
|
DLLEXPORT | QoreReferenceCounter (const QoreReferenceCounter &old) |
| creates a new object with a reference count of 1 More...
|
|
DLLEXPORT | ~QoreReferenceCounter () |
| destroys the reference counter object
|
|
DLLEXPORT bool | is_unique () const |
| returns true if the reference count is 1 More...
|
|
DLLEXPORT int | reference_count () const |
| gets the reference count More...
|
|
DLLEXPORT bool | ROdereference () const |
| atomically decrements the reference count More...
|
|
DLLEXPORT void | ROreference () const |
| atomically increments the reference count
|
|
Private data for the Qore::BinaryOutputStream class.