AbstractPrivateData Class Reference

the base class for all data to be used as private data of Qore objects More...

#include <AbstractPrivateData.h>

Inheritance diagram for AbstractPrivateData:
QoreReferenceCounter AbstractThreadResource QoreHTTPClient QoreProgram QoreSSLCertificate QoreSSLPrivateKey

List of all members.

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

Detailed Description

the base class for all data to be used as private data of Qore objects

C++ constructor code for Qore classes must set private data of the class against the class ID using QoreObject::setPrivate()


Member Function Documentation

virtual DLLEXPORT void AbstractPrivateData::deref ( class ExceptionSink xsink  )  [inline, virtual]

decrements the reference count of the object

Parameters:
xsink any Qore-language exception information is stored here

Reimplemented in QoreHTTPClient, and QoreProgram.

References QoreReferenceCounter::ROdereference().


The documentation for this class was generated from the following file:

Generated on 14 Jun 2010 for Qore Programming Language by  doxygen 1.6.1