Qore Programming Language 1.17.0
|
manages calls to AbstractQoreNode::getDateTimeRepresentation() when a simple DateTime value is required More...
#include <DateTimeNode.h>
Public Member Methods | |
DLLEXPORT | DateTimeValueHelper (const AbstractQoreNode *n) |
gets the DateTime value and set the delete flag | |
DLLEXPORT | DateTimeValueHelper (const QoreValue &n) |
gets the DateTime value and set the delete flag | |
DLLEXPORT | ~DateTimeValueHelper () |
deletes the DateTime value being managed if necessary | |
manages calls to AbstractQoreNode::getDateTimeRepresentation() when a simple DateTime value is required
calls to this function include a flag that indicates if the value should be deleted or not afterwards; this class manages the return value in an easy and exception-safe way if a DateTimeNode value is required instead, use DateTimeNodeValueHelper