Om
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Om::Language::Operation::TranslateOperation< ThisImplementation > Class Template Referenceabstract

An Operation that applies each Translator to a Program. More...

#include "translate_operation.hpp"

+ Inheritance diagram for Om::Language::Operation::TranslateOperation< ThisImplementation >:
+ Collaboration diagram for Om::Language::Operation::TranslateOperation< ThisImplementation >:

Public Member Functions

virtual ~TranslateOperation ()=0
 
template<typename TheOperand >
bool TakeOperand (Evaluation &, TheOperand &)
 
template<typename TheProducer >
bool TakeQuotedProducer (Evaluation &, TheProducer &)
 
- Public Member Functions inherited from Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >
virtual ~DefaultIncompleteOperation ()=0
 
virtual void GiveElements (Consumer &)
 Gives the contents. More...
 
virtual void GiveElements (Consumer &) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual bool ParseQuotedElements (Evaluation &, Reader &)
 
virtual bool TakeElement (Evaluation &, Operand &)
 Takes the Operand and gives the result to the Evaluation. More...
 
virtual bool TakeElement (Evaluation &, Operand const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual bool TakeQuotedElements (Evaluation &, Producer &)
 Constructs and takes an Operand, which takes each Element from the argument. More...
 
virtual bool TakeQuotedElements (Evaluation &, Producer const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
- Public Member Functions inherited from Om::Language::Operation::IncompleteOperation
virtual ~IncompleteOperation ()=0
 

Static Public Member Functions

template<typename TheTranslateOperation >
static void GiveElements (TheTranslateOperation &, Consumer &)
 
- Static Public Member Functions inherited from Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >
static Operator const & GetOperator ()
 
static void Give (Evaluation &)
 

Protected Member Functions

 TranslateOperation ()
 
- Protected Member Functions inherited from Om::Language::Operation::IncompleteOperation
 IncompleteOperation ()
 

Protected Attributes

boost::optional< LexiconthisLexicon
 

Detailed Description

template<typename ThisImplementation>
class Om::Language::Operation::TranslateOperation< ThisImplementation >

Definition at line 36 of file translate_operation.hpp.

Constructor & Destructor Documentation

◆ ~TranslateOperation()

template<typename ThisImplementation >
virtual Om::Language::Operation::TranslateOperation< ThisImplementation >::~TranslateOperation ( )
pure virtual

◆ TranslateOperation()

template<typename ThisImplementation >
Om::Language::Operation::TranslateOperation< ThisImplementation >::TranslateOperation ( )
protected

Member Function Documentation

◆ GiveElements()

template<typename ThisImplementation >
template<typename TheTranslateOperation >
static void Om::Language::Operation::TranslateOperation< ThisImplementation >::GiveElements ( TheTranslateOperation< ThisImplementation > &  ,
Consumer  
)
static

◆ TakeOperand()

template<typename ThisImplementation >
template<typename TheOperand >
bool Om::Language::Operation::TranslateOperation< ThisImplementation >::TakeOperand ( Evaluation ,
TheOperand &   
)

◆ TakeQuotedProducer()

template<typename ThisImplementation >
template<typename TheProducer >
bool Om::Language::Operation::TranslateOperation< ThisImplementation >::TakeQuotedProducer ( Evaluation ,
TheProducer &   
)

Member Data Documentation

◆ thisLexicon

template<typename ThisImplementation >
boost::optional<Lexicon> Om::Language::Operation::TranslateOperation< ThisImplementation >::thisLexicon
protected

Definition at line 67 of file translate_operation.hpp.


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