flopc::SubsetRef< nbr > Class Template Reference
[Internal (private) interface.]

Internal representation of a "set". More...

#include <MP_set.hpp>

Inheritance diagram for flopc::SubsetRef< nbr >:

Inheritance graph
[legend]
Collaboration diagram for flopc::SubsetRef< nbr >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SubsetRef (MP_subset< nbr > *s, const MP_index_exp &i1, const MP_index_exp &i2, const MP_index_exp &i3, const MP_index_exp &i4, const MP_index_exp &i5)
 operator MP_domain () const
virtual MP_domain getDomain (MP_set *s) const
SubsetRefsuch_that (const MP_boolean &b)
int evaluate () const
MP_indexgetIndex () const

Public Attributes

MP_boolean B
MP_subset< nbr > * S
MP_index_exp I1
MP_index_exp I2
MP_index_exp I3
MP_index_exp I4
MP_index_exp I5

Detailed Description

template<int nbr>
class flopc::SubsetRef< nbr >

Internal representation of a "set".

Note:
FOR INTERNAL USE: This is not normally used directly by the calling code.

this is often implicitly created with many expressions which may subset a set.

Definition at line 290 of file MP_set.hpp.


Constructor & Destructor Documentation

template<int nbr>
flopc::SubsetRef< nbr >::SubsetRef ( MP_subset< nbr > *  s,
const MP_index_exp i1,
const MP_index_exp i2,
const MP_index_exp i3,
const MP_index_exp i4,
const MP_index_exp i5 
) [inline]

Definition at line 292 of file MP_set.hpp.


Member Function Documentation

template<int nbr>
flopc::SubsetRef< nbr >::operator MP_domain (  )  const [inline]

Definition at line 300 of file MP_set.hpp.

References flopc::SubsetRef< nbr >::I1, flopc::SubsetRef< nbr >::I2, flopc::SubsetRef< nbr >::I3, flopc::SubsetRef< nbr >::I4, flopc::SubsetRef< nbr >::I5, and flopc::SubsetRef< nbr >::S.

template<int nbr>
virtual MP_domain flopc::SubsetRef< nbr >::getDomain ( MP_set s  )  const [inline, virtual]

Reimplemented from flopc::SUBSETREF.

Definition at line 314 of file MP_set.hpp.

References flopc::SubsetRef< nbr >::I1, flopc::SubsetRef< nbr >::I2, flopc::SubsetRef< nbr >::I3, flopc::SubsetRef< nbr >::I4, flopc::SubsetRef< nbr >::I5, and flopc::SubsetRef< nbr >::S.

template<int nbr>
SubsetRef& flopc::SubsetRef< nbr >::such_that ( const MP_boolean b  )  [inline]

Definition at line 325 of file MP_set.hpp.

References flopc::SubsetRef< nbr >::B.

template<int nbr>
int flopc::SubsetRef< nbr >::evaluate (  )  const [inline, virtual]

Reimplemented from flopc::SUBSETREF.

Definition at line 330 of file MP_set.hpp.

References flopc::SubsetRef< nbr >::I1, flopc::SubsetRef< nbr >::I2, flopc::SubsetRef< nbr >::I3, flopc::SubsetRef< nbr >::I4, flopc::SubsetRef< nbr >::I5, flopc::outOfBound, flopc::pos(), and flopc::SubsetRef< nbr >::S.

template<int nbr>
MP_index* flopc::SubsetRef< nbr >::getIndex (  )  const [inline, virtual]

Reimplemented from flopc::SUBSETREF.

Definition at line 346 of file MP_set.hpp.

References flopc::SubsetRef< nbr >::S.


Member Data Documentation

template<int nbr>
MP_boolean flopc::SubsetRef< nbr >::B

Definition at line 349 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::such_that().

template<int nbr>
MP_subset<nbr>* flopc::SubsetRef< nbr >::S

Definition at line 350 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::evaluate(), flopc::SubsetRef< nbr >::getDomain(), flopc::SubsetRef< nbr >::getIndex(), and flopc::SubsetRef< nbr >::operator MP_domain().

template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I1

Definition at line 351 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::evaluate(), flopc::SubsetRef< nbr >::getDomain(), and flopc::SubsetRef< nbr >::operator MP_domain().

template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I2

Definition at line 351 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::evaluate(), flopc::SubsetRef< nbr >::getDomain(), and flopc::SubsetRef< nbr >::operator MP_domain().

template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I3

Definition at line 351 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::evaluate(), flopc::SubsetRef< nbr >::getDomain(), and flopc::SubsetRef< nbr >::operator MP_domain().

template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I4

Definition at line 351 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::evaluate(), flopc::SubsetRef< nbr >::getDomain(), and flopc::SubsetRef< nbr >::operator MP_domain().

template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I5

Definition at line 351 of file MP_set.hpp.

Referenced by flopc::SubsetRef< nbr >::evaluate(), flopc::SubsetRef< nbr >::getDomain(), and flopc::SubsetRef< nbr >::operator MP_domain().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:15:44 2010 for Coin-All by  doxygen 1.4.7