#include <AbstractPrivateData.h>
Public Member Functions | |
DLLEXPORT void | ref () |
increments the reference count of the object | |
virtual DLLEXPORT void | deref (class ExceptionSink *xsink) |
decrements the reference count of the object | |
virtual DLLEXPORT void | deref () |
decrements the reference count of the object without the possibility of throwing a Qore-language exception | |
Protected Member Functions | |
virtual DLLEXPORT | ~AbstractPrivateData () |
as these objects are reference counted, the destructor should be called only when the reference count = 0 and not manually |
C++ constructor code for Qore classes must set private data of the class against the class ID using QoreObject::setPrivate()
virtual DLLEXPORT void AbstractPrivateData::deref | ( | class ExceptionSink * | xsink | ) | [inline, virtual] |
decrements the reference count of the object
xsink | any Qore-language exception information is stored here |
Reimplemented in QoreHTTPClient, and QoreProgram.
References QoreReferenceCounter::ROdereference().