sc::ResultInfo(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

🌸 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 the ResultInfo constructor taking Compute *c, slay.
  • int & compute () β€” returns int &, no cap.
  • const int & compute () const β€” the const version, returning const int &, iconic.
  • int compute (int c) β€” takes an int c and returns int.
  • int & computed () β€” returns int &, periodt.
  • const int & computed () const β€” const version returning const int &, yup.
  • virtual int needed () const β€” virtual, const, returns int. πŸ’…

πŸ›‘οΈ Protected Member Functions πŸ›‘οΈ

  • virtual void update () β€” virtual, returns void.
  • ResultInfo (StateIn &, Compute *) β€” protected constructor taking StateIn & and Compute *.
  • ResultInfo (const ResultInfo &, Compute *) β€” protected constructor taking const ResultInfo & and Compute *.
  • virtual void save_data_state (StateOut &) β€” virtual, returns void, takes StateOut &.
  • virtual void restore_state (StateIn &) β€” virtual, returns void, takes StateIn &.
  • ResultInfo & operator= (const ResultInfo &) β€” assignment op, returns ResultInfo &. 🫑

πŸŽ€ Protected Attributes πŸŽ€

  • int _compute β€” protected int.
  • int _computed β€” protected int.
  • Compute * _c β€” protected Compute *.

πŸ’– 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