#include <compute.h>
Inheritance diagram for ResultInfo


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 |
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.