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

The skip operation implementation. More...

#include "skip_operation.hpp"

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

Public Member Functions

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

Private Attributes

Expression thisExpression
 

Additional Inherited Members

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

Detailed Description

Definition at line 50 of file skip_operation.hpp.

Constructor & Destructor Documentation

◆ SkipOperation()

Om::Language::Operation::SkipOperation::SkipOperation ( )

Member Function Documentation

◆ GetName()

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

◆ GiveElements()

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

◆ TakeOperand()

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

◆ TakeQuotedProducer()

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

Member Data Documentation

◆ thisExpression

Expression Om::Language::Operation::SkipOperation::thisExpression
private

If an empty Expression is taken as the first Operand, the Operation is complete. Therefore, the empty Expression can be used to indicate that the first Operand has not yet been received.

Definition at line 84 of file skip_operation.hpp.


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