Frobby  0.9.5
Public Member Functions | List of all members
IO::M2PolyWriter Class Reference
Inheritance diagram for IO::M2PolyWriter:
IO::PolyWriter CoefBigTermConsumer CoefTermConsumer

Public Member Functions

 M2PolyWriter (FILE *out)
 
virtual void doWriteHeader ()
 
virtual void doWriteTerm (const mpz_class &coef, const Term &term, const TermTranslator &translator, bool firstGenerator)
 
virtual void doWriteTerm (const mpz_class &coef, const vector< mpz_class > &term, bool firstGenerator)
 
virtual void doWriteFooter (bool wasZero)
 
- Public Member Functions inherited from IO::PolyWriter
 PolyWriter (FILE *out)
 
virtual void consumeRing (const VarNames &names)
 
virtual void beginConsuming ()
 
virtual void consume (const mpz_class &coef, const Term &term, const TermTranslator &translator)
 
virtual void consume (const mpz_class &coef, const vector< mpz_class > &term)
 
virtual void doneConsuming ()
 
virtual void consume (const BigPolynomial &poly)
 
FILE * getFile ()
 
const VarNamesgetNames () const
 
- Public Member Functions inherited from CoefBigTermConsumer
virtual void consume (const mpz_class &coef, const Term &term)
 
- Public Member Functions inherited from CoefTermConsumer
virtual ~CoefTermConsumer ()
 
virtual void consume (const Polynomial &poly)
 

Detailed Description

Definition at line 94 of file Macaulay2IOHandler.cpp.

Constructor & Destructor Documentation

◆ M2PolyWriter()

IO::M2PolyWriter::M2PolyWriter ( FILE *  out)
inline

Definition at line 96 of file Macaulay2IOHandler.cpp.

Member Function Documentation

◆ doWriteFooter()

virtual void IO::M2PolyWriter::doWriteFooter ( bool  wasZero)
inlinevirtual

Implements IO::PolyWriter.

Definition at line 127 of file Macaulay2IOHandler.cpp.

◆ doWriteHeader()

virtual void IO::M2PolyWriter::doWriteHeader ( )
inlinevirtual

Implements IO::PolyWriter.

Definition at line 99 of file Macaulay2IOHandler.cpp.

◆ doWriteTerm() [1/2]

virtual void IO::M2PolyWriter::doWriteTerm ( const mpz_class &  coef,
const Term term,
const TermTranslator translator,
bool  firstGenerator 
)
inlinevirtual

Implements IO::PolyWriter.

Definition at line 104 of file Macaulay2IOHandler.cpp.

◆ doWriteTerm() [2/2]

virtual void IO::M2PolyWriter::doWriteTerm ( const mpz_class &  coef,
const vector< mpz_class > &  term,
bool  firstGenerator 
)
inlinevirtual

Implements IO::PolyWriter.

Definition at line 116 of file Macaulay2IOHandler.cpp.


The documentation for this class was generated from the following file: