dlvhex  2.5.0
SemanticActionBase< ManagerClass, TargetAttribute, Tag > Struct Template Reference

Base class for semantic actions. More...

#include <include/dlvhex2/HexGrammar.h>

Inheritance diagram for SemanticActionBase< ManagerClass, TargetAttribute, Tag >:
Collaboration diagram for SemanticActionBase< ManagerClass, TargetAttribute, Tag >:

Public Types

typedef SemanticActionBase
< ManagerClass,
TargetAttribute, Tag > 
base_type

Public Member Functions

 SemanticActionBase (ManagerClass &mgr)
 Constructor.
template<typename SourceAttributes , typename Ctx >
void operator() (const SourceAttributes &source, Ctx &ctx, boost::spirit::qi::unused_type) const

Data Fields

ManagerClass & mgr

Detailed Description

template<typename ManagerClass, typename TargetAttribute, typename Tag>
struct SemanticActionBase< ManagerClass, TargetAttribute, Tag >

Base class for semantic actions.

This class delegates to sem<Tag>::operator() where all the true processing happens (hidden in compilation unit).

Definition at line 152 of file HexGrammar.h.


Member Typedef Documentation

template<typename ManagerClass, typename TargetAttribute, typename Tag>
typedef SemanticActionBase<ManagerClass, TargetAttribute, Tag> SemanticActionBase< ManagerClass, TargetAttribute, Tag >::base_type

Definition at line 154 of file HexGrammar.h.


Constructor & Destructor Documentation

template<typename ManagerClass, typename TargetAttribute, typename Tag>
SemanticActionBase< ManagerClass, TargetAttribute, Tag >::SemanticActionBase ( ManagerClass &  mgr) [inline]

Constructor.

Definition at line 158 of file HexGrammar.h.


Member Function Documentation

template<typename ManagerClass, typename TargetAttribute, typename Tag>
template<typename SourceAttributes , typename Ctx >
void SemanticActionBase< ManagerClass, TargetAttribute, Tag >::operator() ( const SourceAttributes &  source,
Ctx &  ctx,
boost::spirit::qi::unused_type   
) const [inline]

Definition at line 161 of file HexGrammar.h.


Field Documentation

template<typename ManagerClass, typename TargetAttribute, typename Tag>
ManagerClass& SemanticActionBase< ManagerClass, TargetAttribute, Tag >::mgr

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