Savegame Class Reference

#include <Savegame.h>

List of all members.

Public Member Functions

 Savegame (IDataSource *ds)
virtual ~Savegame ()
uint32 getVersion ()
std::string getDescription ()
IDataSourcegetDataSource (const std::string &name)

Protected Attributes

ZipFilezipfile


Detailed Description

Definition at line 25 of file Savegame.h.


Constructor & Destructor Documentation

Savegame::Savegame ( IDataSource ds  )  [explicit]

Definition at line 25 of file Savegame.cpp.

References zipfile.

Savegame::~Savegame (  )  [virtual]

Definition at line 30 of file Savegame.cpp.

References zipfile.


Member Function Documentation

IDataSource * Savegame::getDataSource ( const std::string &  name  ) 

Definition at line 51 of file Savegame.cpp.

References ZipFile::getObject(), and zipfile.

Referenced by getVersion(), and GUIApp::loadGame().

std::string Savegame::getDescription (  ) 

get the savegame's description

Definition at line 46 of file Savegame.cpp.

References ZipFile::getComment(), and zipfile.

Referenced by U8SaveGump::loadDescriptions().

uint32 Savegame::getVersion (  ) 

get the savegame's global version

Definition at line 35 of file Savegame.cpp.

References getDataSource(), IDataSource::getSize(), IDataSource::read4(), and PentagramVersion::version.

Referenced by U8SaveGump::loadDescriptions(), and GUIApp::loadGame().


Member Data Documentation

ZipFile* Savegame::zipfile [protected]

Definition at line 39 of file Savegame.h.

Referenced by getDataSource(), getDescription(), Savegame(), and ~Savegame().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:51 2007 for pentagram by  doxygen 1.4.7