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::StateOutBin - Save state to a binary file.

Author

       Generated automatically by Doxygen for MPQC from the source code.

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

Detailed Description

       Save state to a binary file.

Member Function Documentation

voidsc::StateOutBin::seek(intloc)[virtual]
       Set the current position in the file. The default implementation does nothing.

       Reimplemented from sc::StateOut.

   intsc::StateOutBin::seekable()[virtual]
       Return non-zero if tell and seek do anything sensible. The default implementation returns 0.

       Reimplemented from sc::StateOut.

   intsc::StateOutBin::tell()[virtual]
       Returns the current position in the file. The default implementation returns 0.

       Reimplemented from sc::StateOut.

Name

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

Synopsis

       #include <state_bin.h>

       Inherits sc::StateOutFile.

   PublicMemberFunctionsStateOutBin (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.

   AdditionalInheritedMembers

See Also