Frobby 0.9.5
|
Utility class for dealing with the contents of CommonParams. More...
#include <CommonParamsHelper.h>
Public Member Functions | |
CommonParamsHelper () | |
~CommonParamsHelper () | |
void | readIdealAndSetOutput (const CommonParams ¶ms, const DataType &output) |
Read input ideal and support specified kind of output. | |
void | readIdealAndSetPolyOutput (const CommonParams ¶ms) |
Read input and support polynomial output. | |
void | readIdealAndSetIdealOutput (const CommonParams ¶ms) |
Read input and support ideal output. | |
void | setIdealAndIdealOutput (const CommonParams ¶ms, const BigIdeal &input, BigTermConsumer &output) |
Use given ideal and support ideal output. | |
void | setIdealAndPolyOutput (const CommonParams ¶ms, const BigIdeal &input, CoefBigTermConsumer &output) |
Use given ideal and support polynomial output. | |
const VarNames & | getNames () |
Ideal & | getIdeal () |
const Ideal & | getIdeal () const |
auto_ptr< Ideal > | takeIdeal () |
bool | hasIdeal () const |
TermTranslator & | getTranslator () |
const TermTranslator & | getTranslator () const |
auto_ptr< TermTranslator > | takeTranslator () |
BigTermConsumer & | getIdealConsumer () |
auto_ptr< TermConsumer > | makeTranslatedIdealConsumer (bool split=false) |
CoefBigTermConsumer & | getPolyConsumer () |
auto_ptr< CoefTermConsumer > | makeTranslatedPolyConsumer () |
auto_ptr< CoefTermConsumer > | makeToUnivariatePolyConsumer () |
void | addPurePowersAtInfinity () |
Private Member Functions | |
CommonParamsHelper (const CommonParamsHelper &) | |
CommonParamsHelper & | operator= (const CommonParamsHelper &) |
void | readIdeal (const CommonParams ¶ms, Scanner &in) |
void | setIdeal (const CommonParams ¶ms, const BigIdeal &ideal) |
Private Attributes | |
auto_ptr< Ideal > | _ideal |
auto_ptr< TermTranslator > | _translator |
BigTermConsumer * | _idealConsumer |
auto_ptr< BigTermConsumer > | _idealConsumerDeleter |
CoefBigTermConsumer * | _polyConsumer |
auto_ptr< CoefBigTermConsumer > | _polyConsumerDeleter |
bool | _produceCanonicalOutput |
Utility class for dealing with the contents of CommonParams.
Throws an appropriate exception if given invalid data.
Definition at line 38 of file CommonParamsHelper.h.
CommonParamsHelper::CommonParamsHelper | ( | ) |
Definition at line 43 of file CommonParamsHelper.cpp.
CommonParamsHelper::~CommonParamsHelper | ( | ) |
Definition at line 49 of file CommonParamsHelper.cpp.
|
private |
void CommonParamsHelper::addPurePowersAtInfinity | ( | ) |
Definition at line 164 of file CommonParamsHelper.cpp.
|
inline |
Definition at line 65 of file CommonParamsHelper.h.
|
inline |
Definition at line 66 of file CommonParamsHelper.h.
|
inline |
Definition at line 74 of file CommonParamsHelper.h.
|
inline |
Definition at line 63 of file CommonParamsHelper.h.
|
inline |
Definition at line 78 of file CommonParamsHelper.h.
|
inline |
Definition at line 70 of file CommonParamsHelper.h.
|
inline |
Definition at line 71 of file CommonParamsHelper.h.
|
inline |
Definition at line 68 of file CommonParamsHelper.h.
auto_ptr< CoefTermConsumer > CommonParamsHelper::makeToUnivariatePolyConsumer | ( | ) |
Definition at line 159 of file CommonParamsHelper.cpp.
auto_ptr< TermConsumer > CommonParamsHelper::makeTranslatedIdealConsumer | ( | bool | split = false | ) |
Definition at line 128 of file CommonParamsHelper.cpp.
auto_ptr< CoefTermConsumer > CommonParamsHelper::makeTranslatedPolyConsumer | ( | ) |
Definition at line 149 of file CommonParamsHelper.cpp.
|
private |
|
private |
Definition at line 168 of file CommonParamsHelper.cpp.
void CommonParamsHelper::readIdealAndSetIdealOutput | ( | const CommonParams & | params | ) |
Read input and support ideal output.
Definition at line 97 of file CommonParamsHelper.cpp.
void CommonParamsHelper::readIdealAndSetOutput | ( | const CommonParams & | params, |
const DataType & | output ) |
Read input ideal and support specified kind of output.
Definition at line 54 of file CommonParamsHelper.cpp.
void CommonParamsHelper::readIdealAndSetPolyOutput | ( | const CommonParams & | params | ) |
Read input and support polynomial output.
Definition at line 85 of file CommonParamsHelper.cpp.
|
private |
Definition at line 176 of file CommonParamsHelper.cpp.
void CommonParamsHelper::setIdealAndIdealOutput | ( | const CommonParams & | params, |
const BigIdeal & | input, | ||
BigTermConsumer & | output ) |
Use given ideal and support ideal output.
Definition at line 110 of file CommonParamsHelper.cpp.
void CommonParamsHelper::setIdealAndPolyOutput | ( | const CommonParams & | params, |
const BigIdeal & | input, | ||
CoefBigTermConsumer & | output ) |
Use given ideal and support polynomial output.
Definition at line 119 of file CommonParamsHelper.cpp.
|
inline |
Definition at line 67 of file CommonParamsHelper.h.
|
inline |
Definition at line 72 of file CommonParamsHelper.h.
|
private |
Definition at line 92 of file CommonParamsHelper.h.
|
private |
Definition at line 95 of file CommonParamsHelper.h.
|
private |
Definition at line 96 of file CommonParamsHelper.h.
|
private |
Definition at line 98 of file CommonParamsHelper.h.
|
private |
Definition at line 99 of file CommonParamsHelper.h.
|
private |
Definition at line 101 of file CommonParamsHelper.h.
|
private |
Definition at line 93 of file CommonParamsHelper.h.