DOKK / manpages / debian 12 / libsc-doc / sc_StateOutBin.3.en
sc::StateOutBin(3) MPQC sc::StateOutBin(3)

sc::StateOutBin - Save state to a binary file.

#include <state_bin.h>

Inherits sc::StateOutFile.


StateOutBin (std::ostream &)
StateOutBin (const char *)
int open (const char *name)
State information will be written to name. void close ()
Close the output stream. int use_directory ()
Returns true if this object uses a directory. int tell ()
Returns the current position in the file. void seek (int loc)
Set the current position in the file. int seekable ()
Return non-zero if tell and seek do anything sensible.

Save state to a binary file.

Close the output stream.

Reimplemented from sc::StateOutFile.

State information will be written to name.

Reimplemented from sc::StateOutFile.

Set the current position in the file. The default implementation does nothing.

Reimplemented from sc::StateOut.

Return non-zero if tell and seek do anything sensible. The default implementation returns 0.

Reimplemented from sc::StateOut.

Returns the current position in the file. The default implementation returns 0.

Reimplemented from sc::StateOut.

Returns true if this object uses a directory.

Reimplemented from sc::StateOut.

Generated automatically by Doxygen for MPQC from the source code.

Fri Dec 2 2022 Version 2.3.1