flopc::Boolean_or Class Reference

Inheritance diagram for flopc::Boolean_or:
flopc::Boolean_base

List of all members.

Private Member Functions

 Boolean_or (const MP_boolean &e1, const MP_boolean &e2)
bool evaluate () const

Private Attributes

MP_boolean left
MP_boolean right

Friends

MP_boolean operator|| (const MP_boolean &e1, const MP_boolean &e2)
 For computing the logical OR of two booleansThis is used in the normal formation of an expression.

Detailed Description

Definition at line 71 of file MP_boolean.cpp.


Constructor & Destructor Documentation

flopc::Boolean_or::Boolean_or ( const MP_boolean e1,
const MP_boolean e2 
) [inline, private]

Definition at line 74 of file MP_boolean.cpp.


Member Function Documentation

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

Implements flopc::Boolean_base.

Definition at line 75 of file MP_boolean.cpp.

References left, and right.


Friends And Related Function Documentation

MP_boolean operator|| ( const MP_boolean e1,
const MP_boolean e2 
) [friend]

For computing the logical OR of two booleansThis is used in the normal formation of an expression.

Parameters:
e1 first boolean
e2 second boolean
Returns:
A boolean which evaluates to true if either booleans are true.
Todo:
true? haven't used it.

Member Data Documentation

Definition at line 78 of file MP_boolean.cpp.

Referenced by evaluate().

Definition at line 78 of file MP_boolean.cpp.

Referenced by evaluate().


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

Generated by  doxygen 1.6.2