Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

sc::ResultInfo Class Reference

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

#include <compute.h>

Inheritance diagram for sc::ResultInfo:

Inheritance graph
[legend]
Collaboration diagram for sc::ResultInfo:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Protected Methods

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

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 Fri Jan 10 08:16:40 2003 for MPQC 2.1.3 using the documentation package Doxygen 1.2.14.