Frobby 0.10.0
Loading...
Searching...
No Matches
NullTermConsumer Class Reference

#include <NullTermConsumer.h>

Inheritance diagram for NullTermConsumer:
Collaboration diagram for NullTermConsumer:

Public Member Functions

virtual void beginConsumingList ()
virtual void consumeRing (const VarNames &names)
virtual void beginConsuming ()
virtual void consume (const Term &term)
virtual void consume (const vector< mpz_class > &term)
virtual void consume (const Term &term, const TermTranslator &translator)
virtual void doneConsuming ()
virtual void doneConsumingList ()
virtual void consume (const BigIdeal &ideal)
Public Member Functions inherited from BigTermConsumer
virtual void consume (unique_ptr< BigIdeal > ideal)
void beginConsuming (const VarNames &names)
Public Member Functions inherited from TermConsumer
void consume (const Ideal &ideal)

Detailed Description

This follows the null object pattern. None of the methods do anything.

Member Function Documentation

◆ beginConsuming()

void NullTermConsumer::beginConsuming ( )
virtual

Tell the consumer to begin consuming an ideal. It is required to call this method before calling consume().

Implements BigTermConsumer.

◆ beginConsumingList()

void NullTermConsumer::beginConsumingList ( )
virtual

Tell the consumer that the ideals that are consumed until the next call to doneConsumingList are to be considered as one list of ideals, rather than as a number of separate ideals. The default implementation is to ignore this, but the consumer is free to do something special in this case. It is thus not in general required to call this method, but if you don't, make sure that every consumer that you want to use does what you want if you output more than a single ideal.

Reimplemented from TermConsumer.

◆ consume() [1/4]

void NullTermConsumer::consume ( const BigIdeal & ideal)
virtual

Reimplemented from BigTermConsumer.

◆ consume() [2/4]

void NullTermConsumer::consume ( const Term & term)
virtual

Consume a term.

Reimplemented from BigTermConsumer.

◆ consume() [3/4]

void NullTermConsumer::consume ( const Term & term,
const TermTranslator & translator )
virtual

Implements BigTermConsumer.

◆ consume() [4/4]

void NullTermConsumer::consume ( const vector< mpz_class > & term)
virtual

Implements BigTermConsumer.

◆ consumeRing()

void NullTermConsumer::consumeRing ( const VarNames & names)
virtual

Tell the consumer which ring is being used.

Implements BigTermConsumer.

◆ doneConsuming()

void NullTermConsumer::doneConsuming ( )
virtual

Must be called once after each time beginConsuming has been called.

Implements BigTermConsumer.

◆ doneConsumingList()

void NullTermConsumer::doneConsumingList ( )
virtual

Must be called once after each time beginConsumingList has been called.

Reimplemented from TermConsumer.


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