32#ifndef _QORE_REFERENCEARGUMENTHELPER_H
34#define _QORE_REFERENCEARGUMENTHELPER_H
60 hashdecl lvih_intern *priv;
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
allows a reference to be passed as an argument to Qore code
Definition: ReferenceArgumentHelper.h:58
DLLEXPORT ~ReferenceArgumentHelper()
frees all memory still managed by the object
DLLEXPORT ReferenceArgumentHelper(QoreValue val, const QoreTypeInfo *typeInfo, ExceptionSink *xsink)
creates a fake local variable assigned to "val" and creates a reference to the local variable
DLLEXPORT ReferenceNode * getArg() const
returns the reference to the fake local variable for use in an argument list, the caller owns the ref...
DLLEXPORT ReferenceArgumentHelper(QoreValue val, ExceptionSink *xsink)
creates a fake local variable assigned to "val" and creates a reference to the local variable
DLLEXPORT QoreValue getOutputValue()
returns the value of the reference and leaves the reference empty, the caller owns the reference retu...
parse type: reference to a lvalue expression
Definition: ReferenceNode.h:45
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:276