My Project
Loading...
Searching...
No Matches
Static Public Member Functions
PUtilFactory Class Reference

Static Public Member Functions

static PUtilBasecreate ()
 
static PUtilBasecreate (int val)
 
static PUtilBasecreate (const CanonicalForm &cf)
 
static PUtilBasecreate (const Variable &v)
 
static PUtilBasecreate (const char *str)
 

Detailed Description

Definition at line 76 of file parseutil.cc.

Member Function Documentation

◆ create() [1/5]

static PUtilBase * PUtilFactory::create ( )
inlinestatic

Definition at line 79 of file parseutil.cc.

79{ return new PUtilInt( 0 ); }

◆ create() [2/5]

static PUtilBase * PUtilFactory::create ( const CanonicalForm cf)
inlinestatic

Definition at line 81 of file parseutil.cc.

81{ return new PUtilCF( cf ); }
CanonicalForm cf
Definition: cfModGcd.cc:4083

◆ create() [3/5]

static PUtilBase * PUtilFactory::create ( const char *  str)
inlinestatic

Definition at line 83 of file parseutil.cc.

84 {
85 if ( strlen( str ) < 9 )
86 return new PUtilInt( atoi( str ) );
87 else
88 return new PUtilCF( CanonicalForm( str ) );
89 }
factory's main class
Definition: canonicalform.h:86

◆ create() [4/5]

static PUtilBase * PUtilFactory::create ( const Variable v)
inlinestatic

Definition at line 82 of file parseutil.cc.

82{ return new PUtilVar( v ); }
const Variable & v
< [in] a sqrfree bivariate poly
Definition: facBivar.h:39

◆ create() [5/5]

static PUtilBase * PUtilFactory::create ( int  val)
inlinestatic

Definition at line 80 of file parseutil.cc.

80{ return new PUtilInt( val ); }

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