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

The swap operation implementation. More...

#include "swap_operation.hpp"

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

Public Member Functions

 SwapOperation ()
 
template<typename TheOperand >
bool TakeOperand (Evaluation &, TheOperand &)
 
template<typename TheProducer >
bool TakeQuotedProducer (Evaluation &, TheProducer &)
 
- Public Member Functions inherited from Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >
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 TheSwapOperation >
static void GiveElements (TheSwapOperation &, Consumer &)
 
- Static Public Member Functions inherited from Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >
static Operator const & GetOperator ()
 
static void Give (Evaluation &)
 

Private Attributes

Operand thisOperand
 The Operand to swap with. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 49 of file swap_operation.hpp.

Constructor & Destructor Documentation

◆ SwapOperation()

Om::Language::Operation::SwapOperation::SwapOperation ( )

Member Function Documentation

◆ GetName()

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

◆ GiveElements()

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

◆ TakeOperand()

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

◆ TakeQuotedProducer()

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

Member Data Documentation

◆ thisOperand

Operand Om::Language::Operation::SwapOperation::thisOperand
private

Definition at line 84 of file swap_operation.hpp.


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