![]() |
Qore Programming Language - C/C++ Library 2.1.1
|
manages conversions of a QoreValue to a QoreNumberNode More...
#include <QoreNumberNode.h>
Public Member Functions | |
| DLLLOCAL | QoreNumberNodeHelper (const QoreValue n) |
| converts the argument to a QoreNumberNode if necessary | |
| DLLLOCAL | ~QoreNumberNodeHelper () |
| destroys the object and dereferences the pointer being managed if it was a temporary object | |
| DLLEXPORT QoreNumberNode * | getReferencedValue () |
| returns a referenced value and leaves the current object empty; the caller will own the reference | |
| DLLLOCAL bool | is_temp () const |
| returns true if the referenced being managed is temporary | |
| DLLLOCAL const QoreNumberNode * | operator* () |
| returns the object being managed | |
| DLLLOCAL const QoreNumberNode * | operator-> () |
| returns the object being managed | |
manages conversions of a QoreValue to a QoreNumberNode
| DLLEXPORT QoreNumberNode * QoreNumberNodeHelper::getReferencedValue | ( | ) |
returns a referenced value and leaves the current object empty; the caller will own the reference
The number is referenced if necessary (if it was a temporary value)
|
inline |
returns the object being managed
|
inline |
returns the object being managed