FLOPC++
|
Internal representation of an index expression. More...
#include <MP_index.hpp>
Private Member Functions | |
MP_index_sum (MP_index &i, const Constant &j) | |
int | evaluate () const |
MP_index * | getIndex () const |
virtual MP_domain | getDomain (MP_set *s) const |
Private Attributes | |
MP_index_exp | left |
Constant | right |
Friends | |
MP_index_exp | operator+ (MP_index &i, const Constant &j) |
MP_index_exp | operator+ (MP_index &i, const int &j) |
Additional Inherited Members | |
![]() | |
virtual void | display () const |
![]() | |
MP_index_base () | |
virtual | ~MP_index_base () |
Internal representation of an index expression.
Definition at line 196 of file MP_index.hpp.
Definition at line 200 of file MP_index.hpp.
|
inlineprivatevirtual |
Implements flopc::MP_index_base.
Definition at line 202 of file MP_index.hpp.
|
inlineprivatevirtual |
|
friend |
returns an index expression from a sum between an MP_index and a Constant.
Definition at line 71 of file MP_index.cpp.
|
friend |
returns an index expression from a sum between an MP_index and an integer. (i+5)
Definition at line 75 of file MP_index.cpp.
|
private |
Definition at line 209 of file MP_index.hpp.
Referenced by evaluate(), getDomain(), and getIndex().
|
private |
Definition at line 210 of file MP_index.hpp.
Referenced by evaluate().