Frobby 0.10.0
Loading...
Searching...
No Matches
DataType Class Reference

#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 ()

Detailed Description

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.

Member Function Documentation

◆ getMonomialIdealListType()

const DataType & DataType::getMonomialIdealListType ( )
static

Returns the one and only instance for monomial ideal lists.

◆ getMonomialIdealType()

const DataType & DataType::getMonomialIdealType ( )
static

Returns the one and only instance for monomial ideals.

◆ getName()

const char * DataType::getName ( ) const

Returns the name of the structure.

◆ getNullType()

const DataType & DataType::getNullType ( )
static

Returns the one and only instance for null.

◆ getPolynomialType()

const DataType & DataType::getPolynomialType ( )
static

Returns the one and only instance for polynomials.

◆ getSatBinomIdealType()

const DataType & DataType::getSatBinomIdealType ( )
static

Returns the one and only instance for saturated binomial ideals.

◆ getTypes()

vector< const DataType * > DataType::getTypes ( )
static

Returns a vector of all types except null.

◆ isNull()

bool DataType::isNull ( ) const

Returns true if this object was returned by getNullType().


The documentation for this class was generated from the following files: