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;
AutoVLock is a container for safely managing global variable and object lock handovers, required for functions accessing global variables and object data where locking is necessary.
Definition: AutoVLock.h:80
The base class for all value and parse types in Qore expression trees.
Definition: AbstractQoreNode.h:54
DLLEXPORT AbstractQoreNode * getUnique(ExceptionSink *xsink)
returns a pointer to the value with a unique reference count (so it can be updated in place)...
DLLEXPORT const QoreValue getValue() const
returns the reference's value
DLLEXPORT ~QoreTypeSafeReferenceHelper()
destroys the object
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:262
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46
DLLEXPORT const 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
int16_t qore_type_t
used to identify unique Qore data and parse types (descendents of AbstractQoreNode) ...
Definition: common.h:70
DLLEXPORT int assign(QoreValue val)
assigns a value to the reference, assumes the reference is valid
DLLEXPORT qore_type_t getType() const
returns the type of the reference's value