FlopCpp trunk
Loading...
Searching...
No Matches
flopc::SubsetRef< nbr > Class Template Reference

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

#include <MP_set.hpp>

+ Inheritance diagram for flopc::SubsetRef< nbr >:
+ Collaboration diagram for flopc::SubsetRef< nbr >:

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

Constructor & Destructor Documentation

◆ SubsetRef()

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

◆ display()

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.

◆ operator MP_domain()

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

Definition at line 309 of file MP_set.hpp.

◆ getDomain()

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

Reimplemented from flopc::SUBSETREF.

Definition at line 323 of file MP_set.hpp.

◆ such_that()

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

Definition at line 330 of file MP_set.hpp.

◆ evaluate()

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

Reimplemented from flopc::SUBSETREF.

Definition at line 335 of file MP_set.hpp.

◆ getIndex()

template<int nbr>
MP_index * flopc::SubsetRef< nbr >::getIndex ( ) const
inlinevirtual

Reimplemented from flopc::SUBSETREF.

Definition at line 350 of file MP_set.hpp.

Member Data Documentation

◆ B

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

Definition at line 353 of file MP_set.hpp.

◆ S

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

Definition at line 354 of file MP_set.hpp.

◆ I1

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

Definition at line 355 of file MP_set.hpp.

◆ I2

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

Definition at line 355 of file MP_set.hpp.

◆ I3

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

Definition at line 355 of file MP_set.hpp.

◆ I4

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

Definition at line 355 of file MP_set.hpp.

◆ I5

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

Definition at line 355 of file MP_set.hpp.


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