sc::StateInBin - Read objects written with StateOutBin.
Contents
Detailed Description
Read objects written with StateOutBin.
Member Function Documentation
voidsc::StateInBin::seek(int)[virtual]
Set the current position in the file. The default implementation does nothing.
Reimplemented from sc::StateIn.
intsc::StateInBin::seekable()[virtual]
Return non-zero if seek does anything sensible. The default implementation returns 0.
Reimplemented from sc::StateIn.
Name
sc::StateInBin - Read objects written with StateOutBin.
Synopsis
#include <state_bin.h>
Inherits sc::StateInFile.
PublicMemberFunctionsStateInBin (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.
AdditionalInheritedMembers