sc_StateOutBin(3)

sc_StateOutBin3

Save state to a binary file.

Usage

#include <state_bin.h>

Inherits sc::StateOutFile.

Public Member Functions

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.

Additional Inherited Members

Detailed Description

Save state to a binary file.

Member Function Documentation

void sc::StateOutBin::close () [virtual]

Close the output stream.

Reimplemented from sc::StateOutFile.

int sc::StateOutBin::open (const char * name) [virtual]

State information will be written to name.

Reimplemented from sc::StateOutFile.

void sc::StateOutBin::seek (int loc) [virtual]

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

Reimplemented from sc::StateOut.

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

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

Reimplemented from sc::StateOut.

int sc::StateOutBin::tell () [virtual]

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

Reimplemented from sc::StateOut.

int sc::StateOutBin::use_directory () [virtual]

Returns true if this object uses a directory.

Reimplemented from sc::StateOut.

Releases

6 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 11
  6. 12

Author

Generated automatically by Doxygen for MPQC from the source code.

From libsc-doc 2.3.1-22 in Debian 12 (Bookworm). Parsed by carta from the page's man source.