SourceForge.net Logo
Public Types | Public Member Functions | Static Public Member Functions | List of all members
EventGenerator Class Referenceabstract

#include <EventGenerator.hpp>

Inheritance diagram for EventGenerator:
Inheritance graph
[legend]

Public Types

typedef RefCountPointer
< EventGenerator
Ptr
 

Public Member Functions

virtual ~EventGenerator ()
 
virtual EventGenerator::Ptr generateEvents (EventHandler *events, DynamicContext *context)=0
 Returns the result of this expression via the EventHandler provided. More...
 
- 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
 

Static Public Member Functions

static void generateAndTailCall (const EventGenerator::Ptr &generator, EventHandler *events, DynamicContext *context)
 
static Result createResult (const ASTNode *ast, const QueryPathNode *projection, DynamicContext *context)
 

Additional Inherited Members

- Protected Attributes inherited from ReferenceCounted
unsigned int _ref_count
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual EventGenerator::~EventGenerator ( )
inlinevirtual

Member Function Documentation

static Result EventGenerator::createResult ( const ASTNode *  ast,
const QueryPathNode *  projection,
DynamicContext context 
)
static
static void EventGenerator::generateAndTailCall ( const EventGenerator::Ptr generator,
EventHandler events,
DynamicContext context 
)
inlinestatic
virtual EventGenerator::Ptr EventGenerator::generateEvents ( EventHandler events,
DynamicContext context 
)
pure virtual

Returns the result of this expression via the EventHandler provided.

An EventGenerator may be returned to be called as a tail call optimization

Implemented in ASTNodeEventGenerator.


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