FLOPC++
Private Member Functions | Friends
flopc::Boolean_equal Class Reference
Inheritance diagram for flopc::Boolean_equal:
flopc::Comparison flopc::Boolean_base

List of all members.

Private Member Functions

 Boolean_equal (const Constant &e1, const Constant &e2)
bool evaluate () const

Friends

MP_boolean operator== (const MP_index_exp &e1, const MP_index_exp &e2)
 constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. This is useful when combining index expressions.
MP_boolean operator== (const Constant &e1, const Constant &e2)
 constructs a boolean evaluator by comparing two constants.This is used in the normal formation of an expression. This utility of this is when comparing constants

Detailed Description

Definition at line 142 of file MP_boolean.cpp.


Constructor & Destructor Documentation

flopc::Boolean_equal::Boolean_equal ( const Constant e1,
const Constant e2 
) [inline, private]

Definition at line 146 of file MP_boolean.cpp.


Member Function Documentation

bool flopc::Boolean_equal::evaluate ( ) const [inline, private, virtual]

Implements flopc::Boolean_base.

Definition at line 147 of file MP_boolean.cpp.

References flopc::Comparison::left, and flopc::Comparison::right.


Friends And Related Function Documentation

MP_boolean operator== ( const MP_index_exp e1,
const MP_index_exp e2 
) [friend]

constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. This is useful when combining index expressions.

Parameters:
e1is an index expression involving an MP_index
e2second index expression
  • used in forming sets of tuples of index values, or subsets.
Todo:
improve this a bit?

Definition at line 199 of file MP_boolean.cpp.

MP_boolean operator== ( const Constant e1,
const Constant e2 
) [friend]

constructs a boolean evaluator by comparing two constants.This is used in the normal formation of an expression. This utility of this is when comparing constants

Parameters:
e1first constant expression
e2second constant expression

Definition at line 205 of file MP_boolean.cpp.


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