26 _translator(translator),
31 (auto_ptr<CoefBigTermConsumer> consumer,
const TermTranslator& translator):
32 _translator(translator),
34 _consumerOwner(consumer) {
52 (
const mpz_class& coef,
const vector<mpz_class>& term) {
virtual void beginConsuming()=0
virtual void consume(const mpz_class &coef, const Term &term)
virtual void doneConsuming()=0
virtual void consumeRing(const VarNames &names)=0
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
size_t getVarCount() const
Term represents a product of variables which does not include a coefficient.
size_t getVarCount() const
virtual void consume(const mpz_class &coef, const Term &term)
auto_ptr< CoefBigTermConsumer > _consumerOwner
CoefBigTermConsumer & _consumer
const TermTranslator & _translator
virtual void doneConsuming()
virtual void beginConsuming()
TranslatingCoefTermConsumer(CoefBigTermConsumer &consumer, const TermTranslator &translator)
virtual void consumeRing(const VarNames &names)
Defines the variables of a polynomial ring and facilities IO involving them.