Om
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Om::Language::Operation::InjectOperation Class Reference

The inject operation implementation. More...

#include "inject_operation.hpp"

+ Inheritance diagram for Om::Language::Operation::InjectOperation:
+ Collaboration diagram for Om::Language::Operation::InjectOperation:

Public Member Functions

 InjectOperation ()
 
template<typename TheOperand >
bool TakeOperand (Evaluation &, TheOperand &)
 
template<typename TheProducer >
bool TakeQuotedProducer (Evaluation &, TheProducer &)
 
- Public Member Functions inherited from Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >
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

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

Private Attributes

Expression thisInjector
 
Expression thisOutput
 The argument to be used as Output. More...
 
boost::optional< EvaluatorthisScope
 The local Evaluator. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 55 of file inject_operation.hpp.

Constructor & Destructor Documentation

◆ InjectOperation()

Om::Language::Operation::InjectOperation::InjectOperation ( )

Member Function Documentation

◆ GetName()

static char const* Om::Language::Operation::InjectOperation::GetName ( )
static

◆ GiveElements()

template<typename TheInjectOperation >
static void Om::Language::Operation::InjectOperation::GiveElements ( TheInjectOperation &  ,
Consumer  
)
static

◆ TakeOperand()

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

◆ TakeQuotedProducer()

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

Member Data Documentation

◆ thisInjector

Expression Om::Language::Operation::InjectOperation::thisInjector
private

Definition at line 86 of file inject_operation.hpp.

◆ thisOutput

Expression Om::Language::Operation::InjectOperation::thisOutput
private

Definition at line 92 of file inject_operation.hpp.

◆ thisScope

boost::optional<Evaluator> Om::Language::Operation::InjectOperation::thisScope
private
Note
This will hold a reference to the Evaluator's Translator, which must remain alive.

Definition at line 100 of file inject_operation.hpp.


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