flopc::Expression_operator Class Reference
[Internal (private) interface.]

The base class for all expressions. More...

#include <MP_expression.hpp>

Inheritance diagram for flopc::Expression_operator:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Expression_operator (const MP_expression &e1, const MP_expression &e2)
void insertVariables (set< MP_variable * > &v) const

Protected Attributes

MP_expression left
MP_expression right

Detailed Description

The base class for all expressions.

Note:
FOR INTERNAL USE: This is not normally used directly by the calling code.
Todo:
can this be moved to the cpp file?

Definition at line 159 of file MP_expression.hpp.


Constructor & Destructor Documentation

flopc::Expression_operator::Expression_operator ( const MP_expression e1,
const MP_expression e2 
) [inline]

Definition at line 161 of file MP_expression.hpp.


Member Function Documentation

void flopc::Expression_operator::insertVariables ( set< MP_variable * > &  v  )  const [inline, virtual]

Implements flopc::MP_expression_base.

Definition at line 163 of file MP_expression.hpp.

References left, and right.


Member Data Documentation

MP_expression flopc::Expression_operator::left [protected]

Definition at line 168 of file MP_expression.hpp.

Referenced by flopc::Expression_minus::generate(), flopc::Expression_plus::generate(), insertVariables(), flopc::Expression_minus::level(), and flopc::Expression_plus::level().

MP_expression flopc::Expression_operator::right [protected]

Definition at line 168 of file MP_expression.hpp.

Referenced by flopc::Expression_minus::generate(), flopc::Expression_plus::generate(), insertVariables(), flopc::Expression_minus::level(), and flopc::Expression_plus::level().


The documentation for this class was generated from the following file:
Generated on Fri Aug 26 03:03:32 2011 for FLOPC++ by  doxygen 1.4.7