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

Public Member Functions

 PUtilCF ()
 
 PUtilCF (const CanonicalForm &cf)
 
 ~PUtilCF ()
 
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

CanonicalForm val
 

Detailed Description

Definition at line 44 of file parseutil.cc.

Constructor & Destructor Documentation

◆ PUtilCF() [1/2]

PUtilCF::PUtilCF ( )
inline

Definition at line 49 of file parseutil.cc.

49{ val = 0; }
CanonicalForm val
Definition: parseutil.cc:47

◆ PUtilCF() [2/2]

PUtilCF::PUtilCF ( const CanonicalForm cf)
inline

Definition at line 50 of file parseutil.cc.

50{ val = cf; }
CanonicalForm cf
Definition: cfModGcd.cc:4083

◆ ~PUtilCF()

PUtilCF::~PUtilCF ( )
inline

Definition at line 51 of file parseutil.cc.

51{}

Member Function Documentation

◆ copy()

PUtilBase * PUtilCF::copy ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 52 of file parseutil.cc.

52{ return new PUtilCF( val ); }
PUtilCF()
Definition: parseutil.cc:49

◆ getintval()

int PUtilCF::getintval ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 54 of file parseutil.cc.

54{ return val.intval(); }
long intval() const
conversion functions

◆ getval()

CanonicalForm PUtilCF::getval ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 53 of file parseutil.cc.

53{ return val; }

◆ isCF()

bool PUtilCF::isCF ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 56 of file parseutil.cc.

56{ return true; }

◆ isInt()

bool PUtilCF::isInt ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 55 of file parseutil.cc.

55{ return false; }

◆ isVar()

bool PUtilCF::isVar ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 57 of file parseutil.cc.

57{ return false; }

Field Documentation

◆ val

CanonicalForm PUtilCF::val
private

Definition at line 47 of file parseutil.cc.


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