Qore Programming Language
0.8.11.1
|
abstract base class for iterator private data More...
#include <QoreIteratorBase.h>
Public Member Functions | |
DLLEXPORT | QoreIteratorBase () |
creates the object and marks it as owned by the current thread | |
Public Member Functions inherited from AbstractPrivateData | |
virtual DLLLOCAL void | deref (class ExceptionSink *xsink) |
decrements the reference count of the object More... | |
virtual DLLLOCAL void | deref () |
decrements the reference count of the object without the possibility of throwing a Qore-language exception | |
DLLLOCAL void | ref () |
increments the reference count of the object | |
Public Member Functions inherited from QoreReferenceCounter | |
DLLEXPORT | QoreReferenceCounter () |
creates the reference counter object | |
DLLEXPORT | ~QoreReferenceCounter () |
destroys the reference counter object | |
DLLLOCAL bool | is_unique () const |
returns true if the reference count is 1 More... | |
DLLLOCAL 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 | |
Protected Member Functions | |
virtual DLLEXPORT | ~QoreIteratorBase () |
destroys the object | |
Protected Member Functions inherited from AbstractPrivateData | |
virtual DLLLOCAL | ~AbstractPrivateData () |
as these objects are reference counted, the destructor should be called only when the reference count = 0 and not manually | |
Additional Inherited Members | |
Protected Attributes inherited from QoreReferenceCounter | |
QoreThreadLock | mRO |
pthread lock to ensure atomicity of updates for architectures where we don't have an atomic increment and decrement implementation | |
abstract base class for iterator private data