17 #ifndef DATA_TYPE_GUARD
18 #define DATA_TYPE_GUARD
56 static vector<const DataType*>
getTypes();
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
void operator=(const DataType &)
Private to avoid copies.
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.