FLOPC++
Public Member Functions | Protected Attributes | List of all members
flopc::Expression_operator Class Reference

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]

Public Member Functions

 Expression_operator (const MP_expression &e1, const MP_expression &e2)
 
void insertVariables (std::set< MP_variable * > &v) const
 
- Public Member Functions inherited from flopc::MP_expression_base
 MP_expression_base ()
 
virtual double level () const =0
 
virtual void generate (const MP_domain &domain, std::vector< Constant > multiplicators, GenerateFunctor &f, double m) const =0
 
virtual ~MP_expression_base ()
 

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 157 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 159 of file MP_expression.hpp.

Member Function Documentation

void flopc::Expression_operator::insertVariables ( std::set< MP_variable * > &  v) const
inlinevirtual

Implements flopc::MP_expression_base.

Definition at line 161 of file MP_expression.hpp.

References left, and right.

Member Data Documentation

MP_expression flopc::Expression_operator::left
protected

Definition at line 166 of file MP_expression.hpp.

Referenced by insertVariables().

MP_expression flopc::Expression_operator::right
protected

Definition at line 166 of file MP_expression.hpp.

Referenced by insertVariables().


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