28 _firstGenerator(true) {
const VarNames & getNames() const
virtual void beginConsumingList()
Tell the consumer that the ideals that are consumed until the next call to doneConsumingList are to b...
size_t getVarCount() const
Returns the current number of variables.
virtual void doneConsumingList()
Must be called once after each time beginConsumingList has been called.
virtual void doWriteEmptyList()=0
virtual void beginConsuming()
Tell the consumer to begin consuming an ideal.
virtual void consumeRing(const VarNames &names)
Tell the consumer which ring is being used.
Defines the variables of a polynomial ring and facilities IO involving them.
size_t getGeneratorCount() const
size_t getVarCount() const
virtual void doWriteTerm(const Term &term, const TermTranslator &translator, bool firstGenerator)=0
virtual void doWriteHeader(bool firstIdeal, size_t generatorCount)
virtual void doneConsuming()
Must be called once after each time beginConsuming has been called.
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
virtual void doWriteFooter(bool wasZeroIdeal)=0
virtual void consume(const Term &term, const TermTranslator &translator)
const vector< mpz_class > & getTerm(size_t term) const
Term represents a product of variables which does not include a coefficient.