Qore Programming Language  0.8.3
Public Member Functions
QoreProgramHelper Class Reference

safely manages QoreProgram objects More...

#include <QoreProgram.h>

List of all members.

Public Member Functions

DLLLOCAL QoreProgramHelper (ExceptionSink &xs)
 creates the QoreProgram object: DEPRECATED: use QoreProgramHelper(int64, ExceptionSink&) instead
DLLLOCAL QoreProgramHelper (int64 parse_options, ExceptionSink &xs)
 creates the QoreProgram object and sets the parse options
DLLLOCAL ~QoreProgramHelper ()
 waits until the QoreProgram object is done executing and then dereferences the object
DLLLOCAL QoreProgramoperator-> ()
 returns the QoreProgram object being managed
DLLLOCAL QoreProgramoperator* ()
 returns the QoreProgram object being managed

Detailed Description

safely manages QoreProgram objects


Constructor & Destructor Documentation

DLLLOCAL QoreProgramHelper::~QoreProgramHelper ( ) [inline]

waits until the QoreProgram object is done executing and then dereferences the object

QoreProgram objects are deleted when there reference count reaches 0.

References QoreProgram::waitForTerminationAndDeref().


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines