FLOPC++
Private Member Functions | Private Attributes | Friends | List of all members
flopc::Constant_if Class Reference
Inheritance diagram for flopc::Constant_if:
flopc::Constant_exp flopc::Constant_base

Private Member Functions

 Constant_if (const MP_boolean b, const Constant &i, const Constant &j)
 
double evaluate () const
 

Private Attributes

MP_boolean B
 

Friends

Constant mpif (const MP_boolean &c, const Constant &a, const Constant &b)
 

Additional Inherited Members

- Public Member Functions inherited from flopc::Constant_base
virtual int getStage () const
 
virtual int stage () const
 
- Protected Member Functions inherited from flopc::Constant_exp
 Constant_exp (const Constant &i, const Constant &j)
 
- Protected Member Functions inherited from flopc::Constant_base
 Constant_base ()
 
virtual ~Constant_base ()
 
- Protected Attributes inherited from flopc::Constant_exp
Constant left
 
Constant right
 
- Protected Attributes inherited from flopc::Constant_base
int count
 

Detailed Description

Definition at line 203 of file MP_constant.cpp.

Constructor & Destructor Documentation

flopc::Constant_if::Constant_if ( const MP_boolean  b,
const Constant i,
const Constant j 
)
inlineprivate

Definition at line 206 of file MP_constant.cpp.

Member Function Documentation

double flopc::Constant_if::evaluate ( ) const
inlineprivatevirtual

Implements flopc::Constant_base.

Definition at line 207 of file MP_constant.cpp.

References B, flopc::Constant_exp::left, and flopc::Constant_exp::right.

Friends And Related Function Documentation

Constant mpif ( const MP_boolean c,
const Constant a,
const Constant b 
)
friend

Definition at line 218 of file MP_constant.cpp.

Member Data Documentation

MP_boolean flopc::Constant_if::B
private

Definition at line 215 of file MP_constant.cpp.

Referenced by evaluate().


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