flopc::Boolean_or Class Reference

Inheritance diagram for flopc::Boolean_or:

Inheritance graph
[legend]
Collaboration diagram for flopc::Boolean_or:

Collaboration graph
[legend]
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 booleans

This is used in the normal formation of an expression.


Detailed Description

Definition at line 72 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 75 of file MP_boolean.cpp.


Member Function Documentation

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

Implements flopc::Boolean_base.

Definition at line 76 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 booleans

This 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.

Definition at line 162 of file MP_boolean.cpp.


Member Data Documentation

MP_boolean flopc::Boolean_or::left [private]

Definition at line 79 of file MP_boolean.cpp.

Referenced by evaluate().

MP_boolean flopc::Boolean_or::right [private]

Definition at line 79 of file MP_boolean.cpp.

Referenced by evaluate().


The documentation for this class was generated from the following file:
Generated on Fri May 16 00:25:19 2008 for FLOPC++ by  doxygen 1.4.7