MPQC  3.0.0-alpha
sc::ResultInfo Class Reference

This is a base class for all of Compute's result types. More...

#include <util/misc/compute.h>

Inheritance diagram for sc::ResultInfo:
sc::Result< TAMatrix > sc::AccResultInfo sc::NCResult< T > sc::Result< T > sc::AccResult< ElemTAEigenSystem > sc::AccResult< RefDiagSCMatrix > sc::AccResult< RefSCMatrix > sc::AccResult< RefSCVector > sc::AccResult< RefSymmSCMatrix > sc::NCAccResult< double > sc::AccResult< T > sc::NCAccResult< T > sc::SSAccResult< T >

Public Member Functions

 ResultInfo (Compute *c)
 
int & compute ()
 
const int & compute () const
 
int compute (int c)
 
int & computed ()
 
const int & computed () const
 
virtual int needed () const
 

Protected Member Functions

virtual void update ()
 
 ResultInfo (StateIn &, Compute *)
 
 ResultInfo (const ResultInfo &, Compute *)
 
virtual void save_data_state (StateOut &)
 
virtual void restore_state (StateIn &)
 
ResultInfooperator= (const ResultInfo &)
 

Protected Attributes

int _compute
 
int _computed
 
Compute_c
 

Detailed Description

This is a base class for all of Compute's result types.

Usually Result<Type> will be used to create a result that has a particular datum associated with it, however a ResultInfo can also be declared to keep track of datum's for which it is awkward to use Result_dec.


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

Generated at Sun Jan 26 2020 23:24:11 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.