28 #ifndef _util_state_state_file_h 29 #define _util_state_state_file_h 39 #include <util/state/state.h> 40 #include <util/state/statein.h> 41 #include <util/state/stateout.h> 66 virtual int open(
const char *name);
94 virtual int open(
const char *name);
virtual int open(const char *name)
State information will be written to name.
Serializes objects that derive from SavableState.
Definition: stateout.h:61
virtual void close()
Close the output stream.
virtual void close()
Close the output file.
Reads state information from a file.
Definition: state_file.h:75
Writes state information to files.
Definition: state_file.h:47
Restores objects that derive from SavableState.
Definition: statein.h:70
virtual void flush()
Flush the output stream.
StateOutFile()
State information will be written to ExEnv::outn().
StateInFile()
State information will be obtained from cin.
virtual int open(const char *name)
State information will be obtained from name.