28 const char* formatDescription):
33 doReadRing(in, names);
37 return doPeekRing(in);
41 doReadBareIdeal(in, consumer);
47 doReadBarePolynomial(in, names, consumer);
54 readBareIdeal(in, consumer);
61 if (!hasMoreInput(in))
63 readBareIdeal(in, consumer);
65 while (hasMoreInput(in)) {
70 readBareIdeal(in, consumer);
78 readBarePolynomial(in, names, consumer);
void readBareIdeal(Scanner &in, InputConsumer &consumer)
Reads an ideal without a ring preceding it.
virtual void doReadIdeal(Scanner &in, InputConsumer &consumer)
void readRing(Scanner &in, VarNames &names)
Reads a ring, i.e.
virtual void doReadPolynomial(Scanner &in, CoefBigTermConsumer &consumer)
virtual void doReadBarePolynomial(Scanner &in, const VarNames &names, CoefBigTermConsumer &consumer)
IOHandlerCommon(const char *formatName, const char *formatDescription)
virtual void doReadIdeals(Scanner &in, InputConsumer &consumer)
virtual void doReadBareIdeal(Scanner &in, InputConsumer &consumer)
bool peekRing(Scanner &in)
Returns true if what follows in the input is a ring, assuming there are no syntax errors.
void readBarePolynomial(Scanner &in, const VarNames &names, CoefBigTermConsumer &consumer)
Reads a polynomial without a ring preceding it.
This class contains a minimum level of functionality that makes it more convenient to derive from tha...
This class offers an input interface which is more convenient and for some purposes more efficient th...
Defines the variables of a polynomial ring and facilities IO involving them.
#define INTERNAL_ERROR_UNIMPLEMENTED()
void readRing(Scanner &in, VarNames &names)