22 #ifndef _EVENTGENERATOR_HPP
23 #define _EVENTGENERATOR_HPP
25 #include <xqilla/framework/XQillaExport.hpp>
50 gen = gen->generateEvents(events, context);
77 const QueryPathNode *projection_;
static void generateAndTailCall(const EventGenerator::Ptr &generator, EventHandler *events, DynamicContext *context)
Definition: EventGenerator.hpp:45
Definition: EventHandler.hpp:31
Super class for reference counted classes.
Definition: ReferenceCounted.hpp:32
Definition: EventGenerator.hpp:56
Super class of all the reference counted wrappers for Items.
Definition: ReferenceCounted.hpp:58
RefCountPointer< EventGenerator > Ptr
Definition: EventGenerator.hpp:37
Definition: EventGenerator.hpp:68
virtual EventGenerator::Ptr generateEvents(EventHandler *events, DynamicContext *context)=0
Returns the result of this expression via the EventHandler provided.
A scoped pointer wrapper for the lazily evaluated query result.
Definition: Result.hpp:39
virtual ~EventGenerator()
Definition: EventGenerator.hpp:39
bool preserveType_
Definition: EventGenerator.hpp:65
Definition: EventGenerator.hpp:34
The execution time dynamic context interface.
Definition: DynamicContext.hpp:39
bool notNull() const
Definition: ReferenceCounted.hpp:111
A lazily evaluated query result.
Definition: ResultImpl.hpp:35
virtual Item::Ptr nextOrTail(Result &tail, DynamicContext *context)
Gets the next item, or returns a tail call Result which will give the next item.
const ASTNode * ast_
Definition: EventGenerator.hpp:64