#include <State.hpp>
|
virtual | ~Restorable ()=default |
virtual int | getCID () |
| Returns the Constructor ID at runtime.
|
virtual bool | backup (Serial &serial) |
| virtual method for writing the Restorable data
|
virtual bool | restore (Serial &serial) |
| virtual method for reading the Restorable data
|
|
template<typename T> |
static int | GetCID () |
| Returns the Constructor ID for this Restorable.
|
◆ ~Restorable()
virtual dz::Restorable::~Restorable |
( |
| ) |
|
|
virtualdefault |
◆ backup()
virtual bool dz::Restorable::backup |
( |
Serial & | serial | ) |
|
|
inlinevirtual |
◆ GetCID()
int dz::Restorable::GetCID |
( |
| ) |
|
|
inlinestatic |
Returns the Constructor ID for this Restorable.
- Note
- typename T should implement a unique constant value CID
◆ getCID()
virtual int dz::Restorable::getCID |
( |
| ) |
|
|
inlinevirtual |
◆ restore()
virtual bool dz::Restorable::restore |
( |
Serial & | serial | ) |
|
|
inlinevirtual |
The documentation for this struct was generated from the following file: