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 QoreProgram(ExceptionSink&, int64) 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:

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