Frobby
0.9.5
|
This class contains a minimum level of functionality that makes it more convenient to derive from than IOHandler. More...
#include <IOHandlerImpl.h>
Protected Member Functions | |
IOHandlerImpl (const char *formatName, const char *formatDescription) | |
void | registerInput (const DataType &type) |
Specify that input of the argument type is supported. More... | |
void | registerOutput (const DataType &type) |
Specify that output of the argument type is supported. More... | |
Private Member Functions | |
virtual BigTermConsumer * | doCreateIdealWriter (FILE *out)=0 |
virtual CoefBigTermConsumer * | doCreatePolynomialWriter (FILE *out) |
virtual void | doReadTerm (Scanner &in, InputConsumer &term) |
virtual void | doReadIdeal (Scanner &in, InputConsumer &consumer) |
virtual void | doReadIdeals (Scanner &in, InputConsumer &consumer) |
virtual void | doReadPolynomial (Scanner &in, CoefBigTermConsumer &consumer) |
virtual void | doReadSatBinomIdeal (Scanner &in, SatBinomConsumer &consumer) |
virtual const char * | doGetName () const |
virtual const char * | doGetDescription () const |
virtual bool | doSupportsInput (const DataType &type) const |
virtual bool | doSupportsOutput (const DataType &type) const |
virtual bool | doHasMoreInput (Scanner &in) const |
Private Attributes | |
vector< const DataType * > | _supportedInputs |
vector< const DataType * > | _supportedOutputs |
const char * | _formatName |
const char * | _formatDescription |
Additional Inherited Members | |
Public Member Functions inherited from IOHandler | |
virtual | ~IOHandler () |
void | readIdeal (Scanner &in, InputConsumer &consumer) |
Read an ideal and feed it to the consumer. More... | |
void | readIdeals (Scanner &in, InputConsumer &consumer) |
Read a number of ideals and feed them to the consumer. More... | |
void | readTerm (Scanner &in, const VarNames &names, vector< mpz_class > &term) |
void | readPolynomial (Scanner &in, CoefBigTermConsumer &consumer) |
void | readSatBinomIdeal (Scanner &in, SatBinomConsumer &consumer) |
void | writeTerm (const vector< mpz_class > &term, const VarNames &names, FILE *out) |
bool | hasMoreInput (Scanner &in) const |
const char * | getName () const |
const char * | getDescription () const |
auto_ptr< BigTermConsumer > | createIdealWriter (FILE *out) |
auto_ptr< BigTermConsumer > | createIdealListWriter (FILE *out) |
auto_ptr< CoefBigTermConsumer > | createPolynomialWriter (FILE *out) |
bool | supportsInput (const DataType &type) const |
bool | supportsOutput (const DataType &type) const |
This class contains a minimum level of functionality that makes it more convenient to derive from than IOHandler.
Definition at line 37 of file IOHandlerImpl.h.
|
protected |
Definition at line 36 of file IOHandlerImpl.cpp.
|
privatepure virtual |
Implements IOHandler.
Implemented in IO::SingularIOHandler, IO::NullIOHandler, IO::NewMonosIOHandler, IO::MonosIOHandler, IO::Macaulay2IOHandler, IO::Fourti2IOHandler, IO::CountingIOHandler, and IO::CoCoA4IOHandler.
Definition at line 42 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::SingularIOHandler, IO::NullIOHandler, IO::Macaulay2IOHandler, IO::Fourti2IOHandler, IO::CountingIOHandler, and IO::CoCoA4IOHandler.
Definition at line 46 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Definition at line 104 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Definition at line 100 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::NullIOHandler.
Definition at line 96 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::NullIOHandler, IO::NewMonosIOHandler, IO::IOHandlerCommon, and IO::Fourti2IOHandler.
Definition at line 78 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::NullIOHandler, IO::NewMonosIOHandler, IO::IOHandlerCommon, and IO::Fourti2IOHandler.
Definition at line 82 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::NullIOHandler, IO::IOHandlerCommon, and IO::Fourti2IOHandler.
Definition at line 86 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::NullIOHandler, and IO::Fourti2IOHandler.
Definition at line 91 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Reimplemented in IO::SingularIOHandler, IO::NullIOHandler, IO::NewMonosIOHandler, IO::MonosIOHandler, IO::Macaulay2IOHandler, IO::Fourti2IOHandler, and IO::CoCoA4IOHandler.
Definition at line 74 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Definition at line 50 of file IOHandlerImpl.cpp.
|
privatevirtual |
Implements IOHandler.
Definition at line 55 of file IOHandlerImpl.cpp.
|
protected |
Specify that input of the argument type is supported.
Definition at line 60 of file IOHandlerImpl.cpp.
|
protected |
Specify that output of the argument type is supported.
Definition at line 67 of file IOHandlerImpl.cpp.
|
private |
Definition at line 73 of file IOHandlerImpl.h.
|
private |
Definition at line 72 of file IOHandlerImpl.h.
|
private |
Definition at line 69 of file IOHandlerImpl.h.
|
private |
Definition at line 70 of file IOHandlerImpl.h.