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

#include <parseutil.h>

Public Member Functions

 ParseUtil ()
 
 ParseUtil (const ParseUtil &)
 
 ParseUtil (const CanonicalForm &)
 
 ParseUtil (const Variable &)
 
 ParseUtil (int)
 
 ParseUtil (char *)
 
 ~ParseUtil ()
 
ParseUtiloperator= (const ParseUtil &)
 
ParseUtiloperator= (const CanonicalForm &)
 
ParseUtiloperator= (const Variable &)
 
ParseUtiloperator= (int)
 
CanonicalForm getval ()
 
int getintval ()
 

Private Attributes

PUtilBasevalue
 

Detailed Description

Definition at line 14 of file parseutil.h.

Constructor & Destructor Documentation

◆ ParseUtil() [1/6]

ParseUtil::ParseUtil ( )

Definition at line 92 of file parseutil.cc.

93{
95}
static PUtilBase * create()
Definition: parseutil.cc:79
PUtilBase * value
Definition: parseutil.h:17

◆ ParseUtil() [2/6]

ParseUtil::ParseUtil ( const ParseUtil pu)

Definition at line 97 of file parseutil.cc.

98{
99 value = pu.value->copy();
100}
virtual PUtilBase * copy() const =0

◆ ParseUtil() [3/6]

ParseUtil::ParseUtil ( const CanonicalForm f)

Definition at line 102 of file parseutil.cc.

103{
105}
FILE * f
Definition: checklibs.c:9

◆ ParseUtil() [4/6]

ParseUtil::ParseUtil ( const Variable )

◆ ParseUtil() [5/6]

ParseUtil::ParseUtil ( int  i)

Definition at line 107 of file parseutil.cc.

108{
110}
int i
Definition: cfEzgcd.cc:132

◆ ParseUtil() [6/6]

ParseUtil::ParseUtil ( char *  str)

Definition at line 112 of file parseutil.cc.

113{
115}

◆ ~ParseUtil()

ParseUtil::~ParseUtil ( )

Definition at line 117 of file parseutil.cc.

118{
119 delete value;
120}

Member Function Documentation

◆ getintval()

int ParseUtil::getintval ( )

Definition at line 157 of file parseutil.cc.

158{
159 return value->getintval();
160}
virtual int getintval() const =0

◆ getval()

CanonicalForm ParseUtil::getval ( )

Definition at line 152 of file parseutil.cc.

153{
154 return value->getval();
155}
virtual CanonicalForm getval() const =0

◆ operator=() [1/4]

ParseUtil & ParseUtil::operator= ( const CanonicalForm f)

Definition at line 131 of file parseutil.cc.

132{
133 delete value;
135 return *this;
136}

◆ operator=() [2/4]

ParseUtil & ParseUtil::operator= ( const ParseUtil pu)

Definition at line 122 of file parseutil.cc.

123{
124 if ( this != &pu ) {
125 delete value;
126 value = pu.value->copy();
127 }
128 return *this;
129}

◆ operator=() [3/4]

ParseUtil & ParseUtil::operator= ( const Variable v)

Definition at line 145 of file parseutil.cc.

146{
147 delete value;
149 return *this;
150}
const Variable & v
< [in] a sqrfree bivariate poly
Definition: facBivar.h:39

◆ operator=() [4/4]

ParseUtil & ParseUtil::operator= ( int  i)

Definition at line 138 of file parseutil.cc.

139{
140 delete value;
142 return *this;
143}

Field Documentation

◆ value

PUtilBase* ParseUtil::value
private

Definition at line 17 of file parseutil.h.


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