#include <EventGenerator.hpp>
Public Member Functions | |
ASTNodeEventGenerator (const ASTNode *ast, bool preserveNS, bool preserveType) | |
virtual EventGenerator::Ptr | generateEvents (EventHandler *events, DynamicContext *context) |
Returns the result of this expression via the EventHandler provided. More... | |
Public Member Functions inherited from EventGenerator | |
virtual | ~EventGenerator () |
Public Member Functions inherited from ReferenceCounted | |
ReferenceCounted () | |
virtual | ~ReferenceCounted () |
void | incrementRefCount () const |
Increment the reference count. More... | |
virtual void | decrementRefCount () const |
Decrement the reference count, deleting if it becomes zero. More... | |
unsigned int | getRefCount () const |
Protected Attributes | |
const ASTNode * | ast_ |
bool | preserveNS_ |
bool | preserveType_ |
Protected Attributes inherited from ReferenceCounted | |
unsigned int | _ref_count |
Additional Inherited Members | |
Public Types inherited from EventGenerator | |
typedef RefCountPointer < EventGenerator > | Ptr |
Static Public Member Functions inherited from EventGenerator | |
static void | generateAndTailCall (const EventGenerator::Ptr &generator, EventHandler *events, DynamicContext *context) |
static Result | createResult (const ASTNode *ast, const QueryPathNode *projection, DynamicContext *context) |
ASTNodeEventGenerator::ASTNodeEventGenerator | ( | const ASTNode * | ast, |
bool | preserveNS, | ||
bool | preserveType | ||
) |
|
virtual |
Returns the result of this expression via the EventHandler provided.
An EventGenerator may be returned to be called as a tail call optimization
Implements EventGenerator.
|
protected |
|
protected |
|
protected |