home | help
sc::SSAccResult< T >(3) 	      MPQC		 sc::SSAccResult< T >(3)

NAME
     sc::SSAccResult< T > - This associates a result datum with an accuracy.

SYNOPSIS
     #include <comptmpl.h>

     Inherits sc::AccResultInfo.

   Public Member Functions
     SSAccResult (Compute *c)
     SSAccResult (const SSAccResult< T > &r, Compute *c)
     operator T& ()
     T * operator-> ()
     T & result ()
     T & result_noupdate ()
     const T & result_noupdate () const
     void operator= (const T &a)
     void operator= (const SSAccResult< T > &r)
     void restore_state (StateIn &s)
     void save_data_state (StateOut &s)
     SSAccResult (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
     virtual int needed () const

   Additional Inherited Members
     Protected Member Functions inherited from sc::AccResultInfo
     AccResultInfo (StateIn &, Compute *)
     AccResultInfo (const AccResultInfo &, Compute *)
     virtual void save_data_state (StateOut &)
     virtual void restore_state (StateIn &)
     AccResultInfo & operator= (const AccResultInfo &)
     void update ()

     Protected Member Functions inherited from sc::ResultInfo
     virtual void update ()
     ResultInfo (StateIn &, Compute *)
     ResultInfo (const ResultInfo &, Compute *)
     virtual void save_data_state (StateOut &)
     virtual void restore_state (StateIn &)
     ResultInfo & operator= (const ResultInfo &)

     Protected Attributes inherited from sc::ResultInfo
     int _compute
     int _computed
     Compute * _c

Detailed Description
   template<class T>
     class sc::SSAccResult< T >"This associates a result datum with an accuracy.

     The datum must be a SavableState and will be saved and restored.

Member Function Documentation
   template<class  T  >  void  sc::SSAccResult< T >::restore_state (StateIn & s)
     [inline],	[virtual]
     Reimplemented from sc::AccResultInfo.

   template<class T > void sc::SSAccResult< T >::save_data_state (StateOut &  s)
     [inline],	[virtual]
     Reimplemented from sc::AccResultInfo.

Author
     Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1			 Thu Sep 3 2026 	 sc::SSAccResult< T >(3)

home | help