Frobby  0.9.5
Public Member Functions | Private Member Functions | List of all members
IO::CoCoA4IdealWriter Class Reference
Inheritance diagram for IO::CoCoA4IdealWriter:
IO::IdealWriter BigTermConsumer TermConsumer

Public Member Functions

 CoCoA4IdealWriter (FILE *out)
 
- Public Member Functions inherited from IO::IdealWriter
 IdealWriter (FILE *out)
 
virtual void consumeRing (const VarNames &names)
 Tell the consumer which ring is being used. More...
 
virtual void beginConsumingList ()
 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. More...
 
virtual void beginConsuming ()
 Tell the consumer to begin consuming an ideal. More...
 
virtual void consume (const Term &term, const TermTranslator &translator)
 
virtual void consume (const vector< mpz_class > &term)
 
virtual void doneConsuming ()
 Must be called once after each time beginConsuming has been called. More...
 
virtual void doneConsumingList ()
 Must be called once after each time beginConsumingList has been called. More...
 
virtual void consume (const BigIdeal &ideal)
 
FILE * getFile ()
 
const VarNamesgetNames ()
 
- Public Member Functions inherited from BigTermConsumer
virtual ~BigTermConsumer ()
 
virtual void consume (const Term &term)
 Consume a term. More...
 
virtual void consume (auto_ptr< BigIdeal > ideal)
 
void beginConsuming (const VarNames &names)
 
- Public Member Functions inherited from TermConsumer
virtual ~TermConsumer ()
 
void consume (const Ideal &ideal)
 This is a non-virtual utility method that calls the other methods to achieve its effect of calling beginConsuming, then consuming all generators, and then calling doneConsuming. More...
 

Private Member Functions

virtual void doWriteHeader (bool first)
 
virtual void doWriteTerm (const Term &term, const TermTranslator &translator, bool first)
 
virtual void doWriteTerm (const vector< mpz_class > &term, bool first)
 
virtual void doWriteFooter (bool wasZeroIdeal)
 
virtual void doWriteEmptyList ()
 

Detailed Description

Definition at line 53 of file CoCoA4IOHandler.cpp.

Constructor & Destructor Documentation

◆ CoCoA4IdealWriter()

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

Definition at line 55 of file CoCoA4IOHandler.cpp.

Member Function Documentation

◆ doWriteEmptyList()

virtual void IO::CoCoA4IdealWriter::doWriteEmptyList ( )
inlineprivatevirtual

Implements IO::IdealWriter.

Definition at line 81 of file CoCoA4IOHandler.cpp.

◆ doWriteFooter()

virtual void IO::CoCoA4IdealWriter::doWriteFooter ( bool  wasZeroIdeal)
inlineprivatevirtual

Implements IO::IdealWriter.

Definition at line 77 of file CoCoA4IOHandler.cpp.

◆ doWriteHeader()

virtual void IO::CoCoA4IdealWriter::doWriteHeader ( bool  first)
inlineprivatevirtual

Implements IO::IdealWriter.

Definition at line 59 of file CoCoA4IOHandler.cpp.

◆ doWriteTerm() [1/2]

virtual void IO::CoCoA4IdealWriter::doWriteTerm ( const Term term,
const TermTranslator translator,
bool  first 
)
inlineprivatevirtual

Implements IO::IdealWriter.

Definition at line 64 of file CoCoA4IOHandler.cpp.

◆ doWriteTerm() [2/2]

virtual void IO::CoCoA4IdealWriter::doWriteTerm ( const vector< mpz_class > &  term,
bool  first 
)
inlineprivatevirtual

Implements IO::IdealWriter.

Definition at line 71 of file CoCoA4IOHandler.cpp.


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