FLOPC++
Private Member Functions | Private Attributes | Friends | List of all members
flopc::Boolean_or Class Reference
Inheritance diagram for flopc::Boolean_or:
flopc::Boolean_base

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.

Additional Inherited Members

- Public Member Functions inherited from flopc::Boolean_base
virtual bool evaluate () const =0
- Protected Member Functions inherited from flopc::Boolean_base
 Boolean_base ()
virtual ~Boolean_base ()
- Protected Attributes inherited from flopc::Boolean_base
int count

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 
)
inlineprivate

Definition at line 74 of file MP_boolean.cpp.

Member Function Documentation

bool flopc::Boolean_or::evaluate ( ) const
inlineprivate

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
e1first boolean
e2second boolean
Returns
A boolean which evaluates to true if either booleans are true.
Todo:
true? haven't used it.

Definition at line 172 of file MP_boolean.cpp.

Member Data Documentation

MP_boolean flopc::Boolean_or::left
private

Definition at line 78 of file MP_boolean.cpp.

Referenced by evaluate().

MP_boolean flopc::Boolean_or::right
private

Definition at line 78 of file MP_boolean.cpp.

Referenced by evaluate().


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