FlopCpp trunk
Loading...
Searching...
No Matches
Public Member Functions | List of all members
flopc::DataRef Class Reference

Reference to a set of data. More...

#include <MP_data.hpp>

+ Inheritance diagram for flopc::DataRef:
+ Collaboration diagram for flopc::DataRef:

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
 

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

◆ DataRef()

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.

◆ ~DataRef()

flopc::DataRef::~DataRef ( )
inline

Definition at line 40 of file MP_data.hpp.

Member Function Documentation

◆ such_that()

DataRef & flopc::DataRef::such_that ( const MP_boolean b)

◆ evaluate()

double flopc::DataRef::evaluate ( ) const
virtual

Implements flopc::Constant_base.

◆ getStage()

int flopc::DataRef::getStage ( ) const
virtual

Reimplemented from flopc::Constant_base.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ evaluate_lhs()

void flopc::DataRef::evaluate_lhs ( double  v) const

◆ operator()()

void flopc::DataRef::operator() ( ) const
virtual

Implements flopc::Functor.


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