24 virtual bool isCF()
const = 0;
39 bool isInt()
const {
return true; }
40 bool isCF()
const {
return false; }
41 bool isVar()
const {
return false; }
55 bool isInt()
const {
return false; }
56 bool isCF()
const {
return true; }
57 bool isVar()
const {
return false; }
71 bool isInt()
const {
return false; }
72 bool isCF()
const {
return false; }
73 bool isVar()
const {
return true; }
85 if ( strlen( str ) < 9 )
virtual bool isInt() const =0
virtual bool isVar() const =0
virtual PUtilBase * copy() const =0
virtual CanonicalForm getval() const =0
virtual bool isCF() const =0
virtual int getintval() const =0
PUtilCF(const CanonicalForm &cf)
CanonicalForm getval() const
static PUtilBase * create()
static PUtilBase * create(const char *str)
static PUtilBase * create(int val)
static PUtilBase * create(const CanonicalForm &cf)
static PUtilBase * create(const Variable &v)
CanonicalForm getval() const
PUtilVar(const Variable &v)
CanonicalForm getval() const
ParseUtil & operator=(const ParseUtil &)
factory's class for variables
const Variable & v
< [in] a sqrfree bivariate poly