34 #ifndef _QORE_ABSTRACTPRIVATEDATA_H
36 #define _QORE_ABSTRACTPRIVATEDATA_H
38 #include <qore/QoreReferenceCounter.h>
51 DLLLOCAL
void ref()
const {
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:44
DLLLOCAL void ref() const
increments the reference count of the object
Definition: AbstractPrivateData.h:51
virtual DLLLOCAL void deref()
decrements the reference count of the object without the possibility of throwing a Qore-language exce...
Definition: AbstractPrivateData.h:65
virtual DLLLOCAL ~AbstractPrivateData()
as these objects are reference counted, the destructor should be called only when the reference count...
Definition: AbstractPrivateData.h:47
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
provides atomic reference counting to Qore objects
Definition: QoreReferenceCounter.h:44
DLLEXPORT void ROreference() const
atomically increments the reference count
DLLEXPORT bool ROdereference() const
atomically decrements the reference count