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

StateOutBin Class Reference

Save state to a binary file. More...

#include <state_bin.h>

Inheritance diagram for StateOutBin

Inheritance graph
[legend]
Collaboration diagram for StateOutBin:

Collaboration graph
[legend]
List of all members.

Public Methods

 StateOutBin ()
 StateOutBin (std::ostream &)
 StateOutBin (const char *)
 ~StateOutBin ()
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. More...

void seek (int loc)
 Set the current position in the file. More...

int seekable ()
 Return non-zero if tell and seek do anything sensible. More...


Detailed Description

Save state to a binary file.


Member Function Documentation

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

Set the current position in the file.

The default implementation does nothing.

Reimplemented from StateOut.

int StateOutBin::seekable ( ) [virtual]
 

Return non-zero if tell and seek do anything sensible.

The default implementation returns 0.

Reimplemented from StateOut.

int StateOutBin::tell ( ) [virtual]
 

Returns the current position in the file.

The default implementation returns 0.

Reimplemented from StateOut.


The documentation for this class was generated from the following file:
Generated at Thu Oct 4 18:09:59 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.