![]() |
Qore Programming Language - C/C++ Library 2.1.1
|
safely manages the return values to AbstractQoreNode::getAsString(), stack only, cannot be dynamically allocated More...
#include <QoreStringNode.h>
Public Member Functions | |
| DLLEXPORT | QoreNodeAsStringHelper (const AbstractQoreNode *n, int format_offset, ExceptionSink *xsink) |
| makes the call to AbstractQoreNode::getAsString() and manages the return values | |
| DLLEXPORT | QoreNodeAsStringHelper (const QoreValue n, int format_offset, ExceptionSink *xsink) |
| makes the call to AbstractQoreNode::getAsString() and manages the return values | |
| DLLEXPORT | ~QoreNodeAsStringHelper () |
| destroys the object and deletes the QoreString pointer being managed if it was a temporary pointer | |
| DLLEXPORT QoreString * | giveString () |
| returns a copy of the QoreString that the caller owns | |
| DLLEXPORT const QoreString * | operator* () |
| returns the object being managed | |
| DLLEXPORT const QoreString * | operator-> () |
| returns the object being managed | |
safely manages the return values to AbstractQoreNode::getAsString(), stack only, cannot be dynamically allocated
| DLLEXPORT QoreString * QoreNodeAsStringHelper::giveString | ( | ) |
returns a copy of the QoreString that the caller owns
the object may be left empty after this call
| DLLEXPORT const QoreString * QoreNodeAsStringHelper::operator* | ( | ) |
returns the object being managed
| DLLEXPORT const QoreString * QoreNodeAsStringHelper::operator-> | ( | ) |
returns the object being managed