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

sc::StateInBin Class Reference

Read objects written with StateOutBin. More...

#include <state_bin.h>

Inheritance diagram for sc::StateInBin:

sc::StateInFile sc::StateIn sc::DescribedClass sc::RefCount sc::Identity List of all members.

Public Member Functions

 StateInBin (const Ref< KeyVal > &)
 StateInBin (std::istream &)
 StateInBin (const char *)
int open (const char *name)
 State information will be obtained from name.

int use_directory ()
 Returns true of this object uses a directory.

int tell ()
 Return the current position in the file.

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

int seekable ()
 Return non-zero if seek does anything sensible.


Detailed Description

Read objects written with StateOutBin.


Member Function Documentation

void sc::StateInBin::seek int  loc  )  [virtual]
 

Set the current position in the file.

The default implementation does nothing.

Reimplemented from sc::StateIn.

int sc::StateInBin::seekable  )  [virtual]
 

Return non-zero if seek does anything sensible.

The default implementation returns 0.

Reimplemented from sc::StateIn.


The documentation for this class was generated from the following file:
Generated at Tue Jan 6 14:24:21 2004 for MPQC 2.2.1 using the documentation package Doxygen 1.3.4.