My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
PUtilVar Class Reference

Public Member Functions

 PUtilVar ()
 
 PUtilVar (const Variable &v)
 
 ~PUtilVar ()
 
PUtilBasecopy () const
 
CanonicalForm getval () const
 
int getintval () const
 
bool isInt () const
 
bool isCF () const
 
bool isVar () const
 
- Public Member Functions inherited from PUtilBase
 PUtilBase ()
 
virtual ~PUtilBase ()
 
virtual PUtilBasecopy () const =0
 
virtual CanonicalForm getval () const =0
 
virtual int getintval () const =0
 
virtual bool isInt () const =0
 
virtual bool isCF () const =0
 
virtual bool isVar () const =0
 

Private Attributes

Variable val
 

Detailed Description

Definition at line 60 of file parseutil.cc.

Constructor & Destructor Documentation

◆ PUtilVar() [1/2]

PUtilVar::PUtilVar ( )
inline

Definition at line 65 of file parseutil.cc.

65{ val = Variable(); }
Variable val
Definition: parseutil.cc:63
factory's class for variables
Definition: variable.h:33

◆ PUtilVar() [2/2]

PUtilVar::PUtilVar ( const Variable v)
inline

Definition at line 66 of file parseutil.cc.

66{ val = v; }
const Variable & v
< [in] a sqrfree bivariate poly
Definition: facBivar.h:39

◆ ~PUtilVar()

PUtilVar::~PUtilVar ( )
inline

Definition at line 67 of file parseutil.cc.

67{}

Member Function Documentation

◆ copy()

PUtilBase * PUtilVar::copy ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 68 of file parseutil.cc.

68{ return new PUtilVar( val ); }
PUtilVar()
Definition: parseutil.cc:65

◆ getintval()

int PUtilVar::getintval ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 70 of file parseutil.cc.

70{ return 0; }

◆ getval()

CanonicalForm PUtilVar::getval ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 69 of file parseutil.cc.

69{ return CanonicalForm( val ); }
factory's main class
Definition: canonicalform.h:86

◆ isCF()

bool PUtilVar::isCF ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 72 of file parseutil.cc.

72{ return false; }

◆ isInt()

bool PUtilVar::isInt ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 71 of file parseutil.cc.

71{ return false; }

◆ isVar()

bool PUtilVar::isVar ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 73 of file parseutil.cc.

73{ return true; }

Field Documentation

◆ val

Variable PUtilVar::val
private

Definition at line 63 of file parseutil.cc.


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