Qore Programming Language  0.9.2
DateTimeValueHelper Class Reference

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
 

Detailed Description

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

See also
DateTimeNodeValueHelper

The documentation for this class was generated from the following file: