My Project  UNKNOWN_GIT_VERSION
Public Member Functions | Private Attributes
PUtilInt Class Reference

Public Member Functions

 PUtilInt ()
 
 PUtilInt (int i)
 
 ~PUtilInt ()
 
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 ()
 

Private Attributes

int val
 

Detailed Description

Definition at line 28 of file parseutil.cc.

Constructor & Destructor Documentation

◆ PUtilInt() [1/2]

PUtilInt::PUtilInt ( )
inline

Definition at line 33 of file parseutil.cc.

33 { val = 0; }

◆ PUtilInt() [2/2]

PUtilInt::PUtilInt ( int  i)
inline

Definition at line 34 of file parseutil.cc.

34 { val = i; }

◆ ~PUtilInt()

PUtilInt::~PUtilInt ( )
inline

Definition at line 35 of file parseutil.cc.

35 {}

Member Function Documentation

◆ copy()

PUtilBase* PUtilInt::copy ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 36 of file parseutil.cc.

36 { return new PUtilInt( val ); }

◆ getintval()

int PUtilInt::getintval ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 38 of file parseutil.cc.

38 { return val; }

◆ getval()

CanonicalForm PUtilInt::getval ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 37 of file parseutil.cc.

37 { return CanonicalForm( val ); }

◆ isCF()

bool PUtilInt::isCF ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 40 of file parseutil.cc.

40 { return false; }

◆ isInt()

bool PUtilInt::isInt ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 39 of file parseutil.cc.

39 { return true; }

◆ isVar()

bool PUtilInt::isVar ( ) const
inlinevirtual

Implements PUtilBase.

Definition at line 41 of file parseutil.cc.

41 { return false; }

Field Documentation

◆ val

int PUtilInt::val
private

Definition at line 31 of file parseutil.cc.


The documentation for this class was generated from the following file:
PUtilInt::val
int val
Definition: parseutil.cc:31
CanonicalForm
factory's main class
Definition: canonicalform.h:83
i
int i
Definition: cfEzgcd.cc:125
PUtilInt::PUtilInt
PUtilInt()
Definition: parseutil.cc:33