|
Qore Programming Language
0.9.16
|
32 #ifndef _QORE_QORETYPESAFEREFERENCEHELPER_H
34 #define _QORE_QORETYPESAFEREFERENCEHELPER_H
66 DLLLOCAL
void *
operator new(size_t);
69 hashdecl qore_type_safe_ref_helper_priv_t *priv;
93 DLLEXPORT
operator bool()
const;
DLLEXPORT qore_type_t getType() const
returns the type of the reference's value
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
const DLLEXPORT QoreValue getValue() const
returns the reference's value
DLLEXPORT int assign(QoreValue val)
assigns a value to the reference, assumes the reference is valid
const DLLEXPORT char * getTypeName() const
returns the type name of the reference's value
helper class to manage variable references passed to functions and class methods, stack only,...
Definition: QoreTypeSafeReferenceHelper.h:57
DLLEXPORT AbstractQoreNode * getUnique(ExceptionSink *xsink)
returns a pointer to the value with a unique reference count (so it can be updated in place),...
parse type: reference to a lvalue expression
Definition: ReferenceNode.h:45
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
DLLEXPORT ~QoreTypeSafeReferenceHelper()
destroys the object
The base class for all value and parse types in Qore expression trees.
Definition: AbstractQoreNode.h:54
int16_t qore_type_t
used to identify unique Qore data and parse types (descendents of AbstractQoreNode)
Definition: common.h:70
AutoVLock is a container for safely managing global variable and object lock handovers,...
Definition: AutoVLock.h:80