sc::ResultInfo(3)
πΈ NAME πΈ
okay so we're on the sc::ResultInfo(3) page of the MPQC manual, and the main character here is 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 >. π
π«Ά Public Member Functions π«Ά
ResultInfo (Compute *c)β this is theResultInfoconstructor takingCompute *c, slay.int & compute ()β returnsint &, no cap.const int & compute () constβ the const version, returningconst int &, iconic.int compute (int c)β takes anint cand returnsint.int & computed ()β returnsint &, periodt.const int & computed () constβ const version returningconst int &, yup.virtual int needed () constβ virtual, const, returnsint. π
π‘οΈ Protected Member Functions π‘οΈ
virtual void update ()β virtual, returnsvoid.ResultInfo (StateIn &, Compute *)β protected constructor takingStateIn &andCompute *.ResultInfo (const ResultInfo &, Compute *)β protected constructor takingconst ResultInfo &andCompute *.virtual void save_data_state (StateOut &)β virtual, returnsvoid, takesStateOut &.virtual void restore_state (StateIn &)β virtual, returnsvoid, takesStateIn &.ResultInfo & operator= (const ResultInfo &)β assignment op, returnsResultInfo &. π«‘
π Protected Attributes π
int _computeβ protectedint.int _computedβ protectedint.Compute * _cβ protectedCompute *.
π 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. π«Ά
π Author π
Generated automatically by Doxygen for MPQC from the source code. π€ No cap, the source code did this one.
okay that's the whole sc::ResultInfo(3) tea, bestie β Version 2.3.1, dated Sun Oct 4 2020. Byeee, go slay your Compute results πβ¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms