#include <IdealWriter.h>
Definition at line 28 of file IdealWriter.h.
◆ IdealWriter()
IO::IdealWriter::IdealWriter |
( |
FILE * |
out | ) |
|
◆ beginConsuming()
void IO::IdealWriter::beginConsuming |
( |
| ) |
|
|
virtual |
◆ beginConsumingList()
void IO::IdealWriter::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.
Definition at line 38 of file IdealWriter.cpp.
◆ consume() [1/3]
void IO::IdealWriter::consume |
( |
const BigIdeal & |
ideal | ) |
|
|
virtual |
◆ consume() [2/3]
◆ consume() [3/3]
void IO::IdealWriter::consume |
( |
const vector< mpz_class > & |
term | ) |
|
|
virtual |
◆ consumeRing()
void IO::IdealWriter::consumeRing |
( |
const VarNames & |
names | ) |
|
|
virtual |
◆ doneConsuming()
void IO::IdealWriter::doneConsuming |
( |
| ) |
|
|
virtual |
◆ doneConsumingList()
void IO::IdealWriter::doneConsumingList |
( |
| ) |
|
|
virtual |
Must be called once after each time beginConsumingList has been called.
Reimplemented from TermConsumer.
Definition at line 66 of file IdealWriter.cpp.
◆ doWriteEmptyList()
virtual void IO::IdealWriter::doWriteEmptyList |
( |
| ) |
|
|
privatepure virtual |
◆ doWriteFooter()
virtual void IO::IdealWriter::doWriteFooter |
( |
bool |
wasZeroIdeal | ) |
|
|
privatepure virtual |
◆ doWriteHeader() [1/2]
virtual void IO::IdealWriter::doWriteHeader |
( |
bool |
firstIdeal | ) |
|
|
privatepure virtual |
◆ doWriteHeader() [2/2]
void IO::IdealWriter::doWriteHeader |
( |
bool |
firstIdeal, |
|
|
size_t |
generatorCount |
|
) |
| |
|
privatevirtual |
◆ doWriteTerm() [1/2]
virtual void IO::IdealWriter::doWriteTerm |
( |
const Term & |
term, |
|
|
const TermTranslator & |
translator, |
|
|
bool |
firstGenerator |
|
) |
| |
|
privatepure virtual |
◆ doWriteTerm() [2/2]
virtual void IO::IdealWriter::doWriteTerm |
( |
const vector< mpz_class > & |
term, |
|
|
bool |
firstGenerator |
|
) |
| |
|
privatepure virtual |
◆ getFile()
FILE* IO::IdealWriter::getFile |
( |
| ) |
|
|
inline |
◆ getNames()
const VarNames& IO::IdealWriter::getNames |
( |
| ) |
|
|
inline |
◆ _firstGenerator
bool IO::IdealWriter::_firstGenerator |
|
private |
◆ _firstIdeal
bool IO::IdealWriter::_firstIdeal |
|
private |
◆ _names
◆ _out
FILE* const IO::IdealWriter::_out |
|
private |
The documentation for this class was generated from the following files: