FLOPC++
Public Member Functions | Private Attributes | List of all members
flopc::DataRef Class Reference

Reference to a set of data. More...

#include <MP_data.hpp>

Inheritance diagram for flopc::DataRef:
Inheritance graph
[legend]
Collaboration diagram for flopc::DataRef:
Collaboration graph
[legend]

Public Member Functions

 DataRef (MP_data *d, 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, int s=0)
 
 ~DataRef ()
 
DataRefsuch_that (const MP_boolean &b)
 
double evaluate () const
 
int getStage () const
 
const DataRefoperator= (const DataRef &r)
 
const DataRefoperator= (const Constant &c)
 
void evaluate_lhs (double v) const
 
void operator() () const
 
- Public Member Functions inherited from flopc::Constant_base
virtual int stage () const
 

Private Attributes

MP_dataD
 
MP_index_exp I1
 
MP_index_exp I2
 
MP_index_exp I3
 
MP_index_exp I4
 
MP_index_exp I5
 
Constant C
 
int stochastic
 
MP_boolean B
 

Additional Inherited Members

- Protected Member Functions inherited from flopc::Constant_base
 Constant_base ()
 
virtual ~Constant_base ()
 
- Protected Member Functions inherited from flopc::Functor
 Functor ()
 
virtual ~Functor ()
 
- Protected Attributes inherited from flopc::Constant_base
int count
 

Detailed Description

Reference to a set of data.

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

Definition at line 29 of file MP_data.hpp.

Constructor & Destructor Documentation

flopc::DataRef::DataRef ( MP_data d,
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,
int  s = 0 
)
inline

Definition at line 31 of file MP_data.hpp.

flopc::DataRef::~DataRef ( )
inline

Definition at line 40 of file MP_data.hpp.

Member Function Documentation

double DataRef::evaluate ( ) const
virtual

Implements flopc::Constant_base.

Definition at line 43 of file MP_data.cpp.

References flopc::outOfBound.

void DataRef::evaluate_lhs ( double  v) const

Definition at line 79 of file MP_data.cpp.

References flopc::outOfBound.

int DataRef::getStage ( ) const
virtual

Reimplemented from flopc::Constant_base.

Definition at line 60 of file MP_data.cpp.

void DataRef::operator() ( ) const
virtual

Implements flopc::Functor.

Definition at line 33 of file MP_data.cpp.

const DataRef & DataRef::operator= ( const DataRef r)

Definition at line 29 of file MP_data.cpp.

const DataRef & DataRef::operator= ( const Constant c)

Definition at line 23 of file MP_data.cpp.

DataRef & DataRef::such_that ( const MP_boolean b)

Definition at line 37 of file MP_data.cpp.

Member Data Documentation

MP_boolean flopc::DataRef::B
private

Definition at line 53 of file MP_data.hpp.

Constant flopc::DataRef::C
private

Definition at line 51 of file MP_data.hpp.

MP_data* flopc::DataRef::D
private

Definition at line 49 of file MP_data.hpp.

MP_index_exp flopc::DataRef::I1
private

Definition at line 50 of file MP_data.hpp.

MP_index_exp flopc::DataRef::I2
private

Definition at line 50 of file MP_data.hpp.

MP_index_exp flopc::DataRef::I3
private

Definition at line 50 of file MP_data.hpp.

MP_index_exp flopc::DataRef::I4
private

Definition at line 50 of file MP_data.hpp.

MP_index_exp flopc::DataRef::I5
private

Definition at line 50 of file MP_data.hpp.

int flopc::DataRef::stochastic
private

Definition at line 52 of file MP_data.hpp.


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