Om
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
Om::Language::Operation::IncompleteOperation Class Referenceabstract

An Operation that has yet to consume one or more Operands and must live in memory until complete. More...

#include "incomplete_operation.hpp"

+ Inheritance diagram for Om::Language::Operation::IncompleteOperation:

Public Member Functions

virtual ~IncompleteOperation ()=0
 
virtual void GiveElements (Consumer &)=0
 Gives the contents. More...
 
virtual void GiveElements (Consumer &) const =0
 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 &)=0
 
virtual bool TakeElement (Evaluation &, Operand &)=0
 Takes an Operand. More...
 
virtual bool TakeElement (Evaluation &, Operand const &)=0
 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 &)=0
 Constructs and takes an Operand, which takes each Element from the argument. More...
 
virtual bool TakeQuotedElements (Evaluation &, Producer const &)=0
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Protected Member Functions

 IncompleteOperation ()
 

Private Member Functions

 IncompleteOperation (IncompleteOperation const &)
 
IncompleteOperation const & operator= (IncompleteOperation const &)
 

Detailed Description

Definition at line 46 of file incomplete_operation.hpp.

Constructor & Destructor Documentation

◆ ~IncompleteOperation()

virtual Om::Language::Operation::IncompleteOperation::~IncompleteOperation ( )
pure virtual

◆ IncompleteOperation() [1/2]

Om::Language::Operation::IncompleteOperation::IncompleteOperation ( )
protected

◆ IncompleteOperation() [2/2]

Om::Language::Operation::IncompleteOperation::IncompleteOperation ( IncompleteOperation const &  )
private

Member Function Documentation

◆ GiveElements() [1/2]

virtual void Om::Language::Operation::IncompleteOperation::GiveElements ( Consumer )
pure virtual
Postcondition
Any calls on the object are undefined.

Implemented in Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, and Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >.

◆ GiveElements() [2/2]

virtual void Om::Language::Operation::IncompleteOperation::GiveElements ( Consumer ) const
pure virtual

Implemented in Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, and Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >.

◆ ParseQuotedElements()

virtual bool Om::Language::Operation::IncompleteOperation::ParseQuotedElements ( Evaluation ,
Reader  
)
pure virtual

Implemented in Om::Language::Operation::DropOperation, Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::PullOperation< ThisProgram, ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >, and Om::Language::Operation::ProgramOperation< ThisProgram >.

◆ TakeElement() [1/2]

virtual bool Om::Language::Operation::IncompleteOperation::TakeElement ( Evaluation ,
Operand  
)
pure virtual
Returns
True if this call completes the Operation, in which case any further calls on the object are undefined.
Postcondition
If true was returned, any further calls on the object are undefined.

Implemented in Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, and Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >.

◆ TakeElement() [2/2]

virtual bool Om::Language::Operation::IncompleteOperation::TakeElement ( Evaluation ,
Operand const &   
)
pure virtual

Implemented in Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, and Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >.

◆ TakeQuotedElements() [1/2]

virtual bool Om::Language::Operation::IncompleteOperation::TakeQuotedElements ( Evaluation ,
Producer  
)
pure virtual
Returns
True if this call completes the Operation, in which case any further calls on the object are undefined.
Postcondition
If true was returned, any further calls on the object are undefined.

Implemented in Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, and Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >.

◆ TakeQuotedElements() [2/2]

virtual bool Om::Language::Operation::IncompleteOperation::TakeQuotedElements ( Evaluation ,
Producer const &   
)
pure virtual

Implemented in Om::Language::Operation::DefaultIncompleteOperation< ThisImplementation >, Om::Language::Operation::DefaultIncompleteOperation< InjectOperation >, Om::Language::Operation::DefaultIncompleteOperation< ProgramOperation< ThisProgram > >, Om::Language::Operation::DefaultIncompleteOperation< CopyOperation >, Om::Language::Operation::DefaultIncompleteOperation< DefineOperation >, Om::Language::Operation::DefaultIncompleteOperation< SkipOperation >, Om::Language::Operation::DefaultIncompleteOperation< FillOperation >, Om::Language::Operation::DefaultIncompleteOperation< PairOperation >, Om::Language::Operation::DefaultIncompleteOperation< QuoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< DequoteOperation >, Om::Language::Operation::DefaultIncompleteOperation< SubstituteOperation >, Om::Language::Operation::DefaultIncompleteOperation< PullOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< NormalizeOperation >, Om::Language::Operation::DefaultIncompleteOperation< ChooseOperation >, Om::Language::Operation::DefaultIncompleteOperation< EqualsOperation >, Om::Language::Operation::DefaultIncompleteOperation< FindOperation >, Om::Language::Operation::DefaultIncompleteOperation< DecodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< EncodeOperation >, Om::Language::Operation::DefaultIncompleteOperation< FrontPushOperation< ThisProgram, ThisImplementation > >, Om::Language::Operation::DefaultIncompleteOperation< SwapOperation >, Om::Language::Operation::DefaultIncompleteOperation< DropOperation >, and Om::Language::Operation::DefaultIncompleteOperation< EvaluateOperation >.

◆ operator=()

IncompleteOperation const& Om::Language::Operation::IncompleteOperation::operator= ( IncompleteOperation const &  )
private

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