The interface inherited by all classes whose state must be saved and restored. More...
#include <memento.h>
Public Member Functions | |
| virtual | ~CMemento () | 
| Class destructor.  More... | |
| virtual void | SaveState (CByteArray &c_buffer)=0 | 
| Saves the state of the object to the given buffer.  More... | |
| virtual void | LoadState (CByteArray &c_buffer)=0 | 
| Restores the state of the object from the given buffer.  More... | |
The interface inherited by all classes whose state must be saved and restored.
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
Restores the state of the object from the given buffer.
The read data is removed from the buffer.
| c_buffer | the source buffer | 
      
  | 
  pure virtual | 
Saves the state of the object to the given buffer.
Data is added to the buffer.
| c_buffer | the target buffer |