sc::StateInBin(3)

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

🌸 NAME 🌸

This is the MPQC manual page for sc::StateInBin, bestie, and it's literally here to read objects written with StateOutBin. That's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

#include <state_bin.h>

Inherits sc::StateInFile.

🫢 Public Member Functions 🫢

  • StateInBin (const Ref< KeyVal > &)
  • StateInBin (std::istream &)
  • StateInBin (const char *)
  • int open (const char *name) β€” state information will be obtained from name. Slay.
  • int use_directory () β€” the original line is literally: β€œReturns true of this object uses a directory.” Keep that exact quirky wording, iykyk.
  • int tell () β€” return the current position in the file.
  • void seek (int loc) β€” set the current position in the file.
  • int seekable () β€” return non-zero if seek does anything sensible.

🫢 ADDITIONAL INHERITED MEMBERS 🫢

This heading is here in the original page, bestie. No extra inherited members are spelled out under it on this page. Periodt.


πŸ’œ DETAILED DESCRIPTION πŸ’œ

Read objects written with StateOutBin. That's the main character energy of this whole page. ✨


πŸŽ€ MEMBER FUNCTION DOCUMENTATION πŸŽ€

void sc::StateInBin::seek (int) [virtual]

Set the current position in the file. The default implementation does nothing. Reimplemented from sc::StateIn.

Lowkey important: β€œdoes nothing” is the documented default, so don't expect it to move anything unless the implementation says so. πŸ’…

int sc::StateInBin::seekable () [virtual]

Return non-zero if seek does anything sensible. The default implementation returns 0. Reimplemented from sc::StateIn.


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for MPQC from the source code. No cap, that's the author section. πŸ¦‹


Okay bye bestie, this page is from version 2.3.1, dated Sun Oct 4 2020 β€” footer tea delivered, mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from