logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc::ResultInfo - This is a base class for all of Compute's result types.

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                                sc::ResultInfo(3)

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.

Name

       sc::ResultInfo - This is a base class for all of Compute's result types.

Synopsis

       #include <compute.h>

       Inherited by sc::AccResultInfo, sc::NCResult<T>, and sc::Result<T>.

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

   ProtectedMemberFunctions
       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 &)

   ProtectedAttributes
       int _compute
       int _computedCompute * _c

See Also