SaveCommand Class Reference

#include <Command.h>

Inheritance diagram for SaveCommand:

Command List of all members.

Public Member Functions

 SaveCommand ()
 SaveCommand (List *list)
void execute ()
std::string getString ()

Static Public Member Functions

static std::string id ()

Static Private Attributes

static const std::string _id = "save"

Detailed Description

Definition at line 407 of file Command.h.


Constructor & Destructor Documentation

SaveCommand::SaveCommand  )  [inline]
 

Definition at line 410 of file Command.h.

SaveCommand::SaveCommand List list  )  [inline]
 

Definition at line 411 of file Command.h.


Member Function Documentation

void SaveCommand::execute  )  [virtual]
 

Implements Command.

Definition at line 9 of file SaveCommand.cpp.

References Level::instance(), and Level::save().

std::string SaveCommand::getString  )  [virtual]
 

Implements Command.

Definition at line 14 of file SaveCommand.cpp.

References _id, List::getString(), and List::snoc().

static std::string SaveCommand::id  )  [inline, static]
 

Definition at line 415 of file Command.h.

References _id.

Referenced by Command::loadCommand().


Member Data Documentation

const string SaveCommand::_id = "save" [static, private]
 

Definition at line 417 of file Command.h.

Referenced by getString(), and id().


The documentation for this class was generated from the following files:
Generated on Fri May 5 00:20:20 2006 for ProjectX by  doxygen 1.4.6-NO