|
Frobby 0.10.0
|
#include <DataType.h>
Public Member Functions | |
| const char * | getName () const |
| bool | isNull () const |
| bool | operator== (const DataType &type) const |
| bool | operator!= (const DataType &type) const |
Static Public Member Functions | |
| static const DataType & | getNullType () |
| static const DataType & | getMonomialIdealType () |
| static const DataType & | getPolynomialType () |
| static const DataType & | getSatBinomIdealType () |
| static const DataType & | getMonomialIdealListType () |
| static vector< const DataType * > | getTypes () |
The intention of this class is to describe the different kinds of mathematical structures that Frobby supports, such as a monomial ideal or a polynomial. This is useful for the IO subsystem.
There is only one instance of each kind, so pointer equality is the same as equality.
|
static |
Returns the one and only instance for monomial ideal lists.
|
static |
Returns the one and only instance for monomial ideals.
| const char * DataType::getName | ( | ) | const |
Returns the name of the structure.
|
static |
Returns the one and only instance for null.
|
static |
Returns the one and only instance for polynomials.
|
static |
Returns the one and only instance for saturated binomial ideals.
|
static |
Returns a vector of all types except null.
| bool DataType::isNull | ( | ) | const |
Returns true if this object was returned by getNullType().