FLOPC++
Public Member Functions | Public Attributes | List of all members
flopc::SubsetRef< nbr > Class Template Reference

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]

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)
 
void display () const
 
 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
 

Additional Inherited Members

- Protected Member Functions inherited from flopc::MP_index_base
 MP_index_base ()
 
virtual ~MP_index_base ()
 

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 150 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 296 of file MP_set.hpp.

Member Function Documentation

template<int nbr>
void flopc::SubsetRef< nbr >::display ( ) const
inlinevirtual

Reimplemented from flopc::MP_index_base.

Definition at line 303 of file MP_set.hpp.

template<int nbr>
int flopc::SubsetRef< nbr >::evaluate ( ) const
inlinevirtual
template<int nbr>
virtual MP_domain flopc::SubsetRef< nbr >::getDomain ( MP_set s) const
inlinevirtual
template<int nbr>
MP_index* flopc::SubsetRef< nbr >::getIndex ( ) const
inlinevirtual

Reimplemented from flopc::SUBSETREF.

Definition at line 350 of file MP_set.hpp.

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

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

Definition at line 330 of file MP_set.hpp.

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

Member Data Documentation

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

Definition at line 353 of file MP_set.hpp.

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

template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I1
template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I2
template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I3
template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I4
template<int nbr>
MP_index_exp flopc::SubsetRef< nbr >::I5
template<int nbr>
MP_subset<nbr>* flopc::SubsetRef< nbr >::S

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