20#ifndef _EVENTGENERATOR_HPP
21#define _EVENTGENERATOR_HPP
23#include <xqilla/framework/XQillaExport.hpp>
48 gen = gen->generateEvents(events, context);
Definition EventGenerator.hpp:57
virtual EventGenerator::Ptr generateEvents(EventHandler *events, DynamicContext *context)
Returns the result of this expression via the EventHandler provided.
ASTNodeEventGenerator(const ASTNode *ast, bool preserveNS, bool preserveType)
const ASTNode * ast_
Definition EventGenerator.hpp:64
bool preserveNS_
Definition EventGenerator.hpp:65
The execution time dynamic context interface.
Definition DynamicContext.hpp:39
Definition EventGenerator.hpp:33
virtual EventGenerator::Ptr generateEvents(EventHandler *events, DynamicContext *context)=0
Returns the result of this expression via the EventHandler provided.
static Result createResult(const ASTNode *ast, const QueryPathNode *projection, DynamicContext *context)
virtual ~EventGenerator()
Definition EventGenerator.hpp:37
RefCountPointer< EventGenerator > Ptr
Definition EventGenerator.hpp:35
static void generateAndTailCall(const EventGenerator::Ptr &generator, EventHandler *events, DynamicContext *context)
Definition EventGenerator.hpp:43
Definition EventHandler.hpp:30
Super class of all the reference counted wrappers for Items.
Definition ReferenceCounted.hpp:62
bool notNull() const
Definition ReferenceCounted.hpp:114
Super class for reference counted classes.
Definition ReferenceCounted.hpp:31
A scoped pointer wrapper for the lazily evaluated query result.
Definition Result.hpp:38