Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

sc::StateOutBin Class Reference

Save state to a binary file. More...

#include <state_bin.h>

Inheritance diagram for sc::StateOutBin:

Inheritance graph
[legend]
Collaboration diagram for sc::StateOutBin:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

Save state to a binary file.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated at Sat Dec 18 15:15:33 2004 for MPQC 2.2.3 using the documentation package Doxygen 1.3.7-20040617.