Public Methods |
|
SavableState & | operator= (const SavableState &) |
|
virtual | ~SavableState () |
| void | save_state (StateOut &) |
| | Save the state of the object as specified by the StateOut object. More...
|
| 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 the restore. More...
|
| virtual void | save_vbase_state (StateOut &) |
| | Save the virtual bases for the object. More...
|
| 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 initializes them. More...
|
Static Public Methods |
|
void | save_state (SavableState *s, StateOut &) |
| SavableState * | restore_state (StateIn &si) |
| | Restores objects saved with save_state. More...
|
|
SavableState * | key_restore_state (StateIn &si, const char *keyword) |
| | Like restore_state, but keyword is used to override values while restoring.
|
|
SavableState * | dir_restore_state (StateIn &si, const char *objectname, const char *keyword=0) |
Protected Methods |
|
| SavableState () |
|
| SavableState (const SavableState &) |
| | SavableState (StateIn &) |
| | Each derived class StateIn CTOR handles the restore corresponding to calling save_object_state, save_vbase_state, and save_data_state listed above. More...
|