FlopCpp  trunk
Public Member Functions | Static Public Member Functions | List of all members
flopc::MP_index_exp Class Reference

Representation of an expression involving an index. More...

#include <MP_index.hpp>

+ Inheritance diagram for flopc::MP_index_exp:
+ Collaboration diagram for flopc::MP_index_exp:

Public Member Functions

 MP_index_exp (MP_index_base *r)
 For internal use. More...
 
 MP_index_exp (int i=0)
 create an index expression from a constant integer. More...
 
 MP_index_exp (const Constant &c)
 create an index expression from a Constant More...
 
 MP_index_exp (MP_index &i)
 create an index expression from an MP_index. More...
 
 MP_index_exp (const SUBSETREF &d)
 create an index expression from a SUBSETREF More...
 
 MP_index_exp (const MP_index_exp &other)
 copy constructor from another MP_index_exp More...
 
virtual ~MP_index_exp ()
 
- Public Member Functions inherited from flopc::Handle< MP_index_base * >
const MP_index_base * & operator-> () const
 
 Handle (const MP_index_base * &r)
 
 Handle (const Handle &h)
 
const Handleoperator= (const Handle &h)
 
 ~Handle ()
 

Static Public Member Functions

static const MP_index_expgetEmpty ()
 Return the unique empty expression. More...
 

Additional Inherited Members

- Protected Member Functions inherited from flopc::Handle< MP_index_base * >
void increment ()
 
void decrement ()
 

Detailed Description

Representation of an expression involving an index.

This is one of the main public interface classes.
It is used to create complex arrangements of index values.
Index expressions can involve:

Definition at line 145 of file MP_index.hpp.

Constructor & Destructor Documentation

◆ MP_index_exp() [1/6]

flopc::MP_index_exp::MP_index_exp ( MP_index_base r)
inline

For internal use.

Definition at line 148 of file MP_index.hpp.

◆ MP_index_exp() [2/6]

flopc::MP_index_exp::MP_index_exp ( int  i = 0)

create an index expression from a constant integer.

◆ MP_index_exp() [3/6]

flopc::MP_index_exp::MP_index_exp ( const Constant c)

create an index expression from a Constant

◆ MP_index_exp() [4/6]

flopc::MP_index_exp::MP_index_exp ( MP_index i)

create an index expression from an MP_index.

◆ MP_index_exp() [5/6]

flopc::MP_index_exp::MP_index_exp ( const SUBSETREF d)

create an index expression from a SUBSETREF

Todo:
internal? or explain?

◆ MP_index_exp() [6/6]

flopc::MP_index_exp::MP_index_exp ( const MP_index_exp other)

copy constructor from another MP_index_exp

◆ ~MP_index_exp()

virtual flopc::MP_index_exp::~MP_index_exp ( )
inlinevirtual

Definition at line 161 of file MP_index.hpp.

Member Function Documentation

◆ getEmpty()

static const MP_index_exp& flopc::MP_index_exp::getEmpty ( )
static

Return the unique empty expression.


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