28 #ifndef _util_state_state_h
29 #define _util_state_state_h
35 #include <util/class/class.h>
41 class TranslateDataIn;
42 class TranslateDataOut;
102 const char *keyword);
104 const char *objectname,
105 const char *keyword = 0);
virtual void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
Restores objects that derive from SavableState.
Definition: statein.h:70
void save_object_state(StateOut &)
This can be used for saving state when the exact type of the object is known for both the save and th...
static SavableState * restore_state(StateIn &si)
Restores objects saved with save_state.
virtual void save_vbase_state(StateOut &)
Save the virtual bases for the object.
static SavableState * key_restore_state(StateIn &si, const char *keyword)
Like restore_state, but keyword is used to override values while restoring.
Serializes objects that derive from SavableState.
Definition: stateout.h:61
void save_state(StateOut &)
Save the state of the object as specified by the StateOut object.
Classes which need runtime information about themselves and their relationship to other classes can v...
Definition: class.h:244
Base class for objects that can save/restore state.
Definition: state.h:46
Generated at Sun Jan 26 2020 23:33:04 for MPQC
2.3.1 using the documentation package Doxygen
1.8.16.