FLOPC++
Public Member Functions | Private Attributes
flopc::DataRef Class Reference

Reference to a set of data. More...

#include <MP_data.hpp>

Inheritance diagram for flopc::DataRef:
flopc::Constant_base flopc::Functor

List of all members.

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
DataRefprobability (double p)

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

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 27 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 29 of file MP_data.hpp.

flopc::DataRef::~DataRef ( ) [inline]

Definition at line 38 of file MP_data.hpp.


Member Function Documentation

double DataRef::evaluate ( ) const [virtual]
void DataRef::evaluate_lhs ( double  v) const
int DataRef::getStage ( ) const [virtual]
void DataRef::operator() ( ) const [virtual]

Implements flopc::Functor.

Definition at line 33 of file MP_data.cpp.

References C, and evaluate_lhs().

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

Definition at line 29 of file MP_data.cpp.

References flopc::Constant_base::Constant.

DataRef& flopc::DataRef::probability ( double  p) [inline]

Definition at line 46 of file MP_data.hpp.

DataRef & DataRef::such_that ( const MP_boolean b)

Definition at line 37 of file MP_data.cpp.

References B.

Referenced by operator=().


Member Data Documentation

Definition at line 52 of file MP_data.hpp.

Referenced by operator=(), and such_that().

Definition at line 50 of file MP_data.hpp.

Referenced by operator()(), and operator=().

Definition at line 48 of file MP_data.hpp.

Referenced by evaluate(), evaluate_lhs(), getStage(), and operator=().

Definition at line 49 of file MP_data.hpp.

Referenced by evaluate(), evaluate_lhs(), getStage(), and operator=().

Definition at line 49 of file MP_data.hpp.

Referenced by evaluate(), evaluate_lhs(), getStage(), and operator=().

Definition at line 49 of file MP_data.hpp.

Referenced by evaluate(), evaluate_lhs(), getStage(), and operator=().

Definition at line 49 of file MP_data.hpp.

Referenced by evaluate(), evaluate_lhs(), getStage(), and operator=().

Definition at line 49 of file MP_data.hpp.

Referenced by evaluate(), evaluate_lhs(), getStage(), and operator=().

Definition at line 51 of file MP_data.hpp.

Referenced by getStage().


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