Qore Programming Language
0.8.11
|
this class is used to safely manage calls to AbstractQoreNode::getStringRepresentation() when a QoreStringNode value is needed, stack only, may not be dynamically allocated More...
#include <QoreStringNode.h>
Public Member Functions | |
DLLLOCAL | ~QoreStringNodeValueHelper () |
destroys the object and dereferences the QoreStringNode if it is a temporary pointer | |
DLLLOCAL QoreStringNode * | getReferencedValue () |
returns a referenced value - the caller will own the reference More... | |
DLLLOCAL const QoreStringNode * | operator* () |
returns the object being managed More... | |
DLLLOCAL const QoreStringNode * | operator-> () |
returns the object being managed More... | |
this class is used to safely manage calls to AbstractQoreNode::getStringRepresentation() when a QoreStringNode value is needed, stack only, may not be dynamically allocated
the QoreStringNode value returned by this function is managed safely in an exception-safe way with this class
|
inline |
returns a referenced value - the caller will own the reference
The string is referenced if necessary (if it was a temporary value)
References AbstractQoreNode::ref().
|
inline |
returns the object being managed
|
inline |
returns the object being managed