17 #ifndef TRANSLATING_TERM_CONSUMER_GUARD
18 #define TRANSLATING_TERM_CONSUMER_GUARD
49 virtual void consume(
const vector<mpz_class>& term);
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
Term represents a product of variables which does not include a coefficient.
TranslatingTermConsumer(BigTermConsumer &consumer, const TermTranslator &translator)
virtual void consumeRing(const VarNames &names)
Tell the consumer which ring is being used.
virtual void doneConsumingList()
Must be called once after each time beginConsumingList has been called.
auto_ptr< BigTermConsumer > _consumerOwner
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.