SourceForge.net Logo
Public Member Functions | Protected Attributes | List of all members
ASTNodeEventGenerator Class Reference

#include <EventGenerator.hpp>

Inheritance diagram for ASTNodeEventGenerator:
Inheritance graph
[legend]

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)
 

Constructor & Destructor Documentation

ASTNodeEventGenerator::ASTNodeEventGenerator ( const ASTNode *  ast,
bool  preserveNS,
bool  preserveType 
)

Member Function Documentation

virtual EventGenerator::Ptr ASTNodeEventGenerator::generateEvents ( EventHandler events,
DynamicContext context 
)
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.

Member Data Documentation

const ASTNode* ASTNodeEventGenerator::ast_
protected
bool ASTNodeEventGenerator::preserveNS_
protected
bool ASTNodeEventGenerator::preserveType_
protected

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