#include <savefile.h>
Public Member Functions | |
virtual uint32 | getSize () const |
virtual bool | read (Common::ReadStream &stream)=0 |
virtual bool | write (Common::WriteStream &stream) const =0 |
Protected Attributes | |
SaveHeader | _header |
An abstract class for a part in a save file.
|
virtual |
Return the total size of the part.
|
pure virtual |
Read the part (with header) out of the stream.
Implemented in Gob::SavePartInfo, Gob::SavePartSprite, Gob::SavePartVars, and Gob::SavePartMem.
|
pure virtual |
Write the part (with header) into the stream.
Implemented in Gob::SavePartInfo, Gob::SavePartSprite, Gob::SavePartVars, and Gob::SavePartMem.