31(unique_ptr<BigTermConsumer> consumer,
const TermTranslator& translator):
34 ASSERT(consumer.get() != 0);
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
Term represents a product of variables which does not include a coefficient.
size_t getVarCount() const
TranslatingTermConsumer(BigTermConsumer &consumer, const TermTranslator &translator)
virtual void consumeRing(const VarNames &names)
Tell the consumer which ring is being used.
unique_ptr< BigTermConsumer > _consumerOwner
virtual void doneConsumingList()
Must be called once after each time beginConsumingList has been called.
BigTermConsumer & _consumer
virtual void beginConsuming()
Tell the consumer to begin consuming an ideal.
const TermTranslator & _translator
virtual void doneConsuming()
Must be called once after each time beginConsuming has been called.
virtual void consume(const Term &term)
Consume a term.
virtual void beginConsumingList()
Tell the consumer that the ideals that are consumed until the next call to doneConsumingList are to b...
Defines the variables of a polynomial ring and facilities IO involving them.
This header file includes common definitions and is included as the first line of code in every imple...