Qore Programming Language 1.18.1
|
manages calls to AbstractQoreNode::getDateTimeRepresentation() when a DateTimeNode value is required More...
#include <DateTimeNode.h>
Public Member Methods | |
DLLLOCAL | DateTimeNodeValueHelper (const AbstractQoreNode *n) |
gets the DateTimeNode value and sets the temporary flag | |
DLLLOCAL | DateTimeNodeValueHelper (const AbstractQoreNode *n, ExceptionSink *xsink) |
gets the DateTimeNode value and sets the temporary flag More... | |
DLLEXPORT | DateTimeNodeValueHelper (const QoreValue &n) |
gets the DateTime value and set the delete flag | |
DLLLOCAL | ~DateTimeNodeValueHelper () |
dereferences the DateTimeNode value if necessary | |
DLLLOCAL DateTimeNode * | getReferencedValue () |
returns a referenced value - the caller will own the reference More... | |
manages calls to AbstractQoreNode::getDateTimeRepresentation() when a DateTimeNode value is required
if a simple DateTime value is required instead, use DateTimeValueHelper
DLLLOCAL DateTimeNodeValueHelper::DateTimeNodeValueHelper | ( | const AbstractQoreNode * | n, |
ExceptionSink * | xsink | ||
) |
gets the DateTimeNode value and sets the temporary flag
this variant throws a Qore-language exception if the input is invalid
|
inline |
returns a referenced value - the caller will own the reference
The value is referenced if necessary (if it was a temporary value)
References AbstractQoreNode::ref().