46 static DataType type(
"a monomial ideal");
51 static DataType type(
"a polynomial");
55 static DataType type(
"a list of monomial ideals");
60 static DataType type(
"a saturated binomial ideal");
65 vector<const DataType*> types;
The intention of this class is to describe the different kinds of mathematical structures that Frobby...
const char * getName() const
Returns the name of the structure.
bool operator==(const DataType &type) const
static vector< const DataType * > getTypes()
Returns a vector of all types except null.
static const DataType & getSatBinomIdealType()
Returns the one and only instance for saturated binomial ideals.
static const DataType & getNullType()
Returns the one and only instance for null.
static const DataType & getMonomialIdealListType()
Returns the one and only instance for monomial ideal lists.
bool isNull() const
Returns true if this object was returned by getNullType().
bool operator!=(const DataType &type) const
DataType(const DataType &)
Private to avoid copies.
static const DataType & getMonomialIdealType()
Returns the one and only instance for monomial ideals.
static const DataType & getPolynomialType()
Returns the one and only instance for polynomials.