sc_NCAccResult - Man Page
This associates a result non-class datum with an accuracy.
Synopsis
#include <comptmpl.h>
Inherits sc::AccResultInfo.
Public Member Functions
NCAccResult (Compute *c)
NCAccResult (const NCAccResult< T > &r, Compute *c)
operator T& ()
T & result ()
T & result_noupdate ()
const T & result_noupdate () const
void operator= (const T &a)
void operator= (const NCAccResult< T > &r)
void restore_state (StateIn &s)
void save_data_state (StateOut &s)
NCAccResult (StateIn &s, Compute *c)
Public Member Functions inherited from sc::AccResultInfo
AccResultInfo (Compute *c)
double actual_accuracy () const
double desired_accuracy () const
void set_desired_accuracy (double)
void set_actual_accuracy (double)
int computed_to_desired_accuracy () const
int needed () const
Public Member Functions inherited from sc::ResultInfo
ResultInfo (Compute *c)
int & compute ()
const int & compute () const
int compute (int c)
int & computed ()
const int & computed () const
Additional Inherited Members
Protected Member Functions inherited from sc::AccResultInfo
AccResultInfo (StateIn &, Compute *)
AccResultInfo (const AccResultInfo &, Compute *)
AccResultInfo & operator= (const AccResultInfo &)
void update ()
Protected Member Functions inherited from sc::ResultInfo
ResultInfo (StateIn &, Compute *)
ResultInfo (const ResultInfo &, Compute *)
ResultInfo & operator= (const ResultInfo &)
Protected Attributes inherited from sc::ResultInfo
int _compute
int _computed
Compute * _c
Detailed Description
template<class T>
class sc::NCAccResult< T >"This associates a result non-class datum with an accuracy.
Member Function Documentation
template<class T > void sc::NCAccResult< T >::restore_state (StateIn & s) [inline], [virtual]
Reimplemented from sc::AccResultInfo.
template<class T > void sc::NCAccResult< T >::save_data_state (StateOut & s) [inline], [virtual]
Reimplemented from sc::AccResultInfo.
Author
Generated automatically by Doxygen for MPQC from the source code.