- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# RestoreCommand Class Reference

`#include <Command.h>`

Inheritance diagram for RestoreCommand:

List of all members.

## Public Member Functions
| RestoreCommand ()
| RestoreCommand (List *list)
void | execute ()
std::string | getString ()
## Static Public Member Functions
static std::string | id ()
## Static Private Attributes
static const std::string | _id = "restore"

## Detailed Description

Definition at line 420 of file Command.h.

## Constructor & Destructor Documentation

RestoreCommand::RestoreCommand | ( |  | ) | `[inline]`

| Definition at line 423 of file Command.h.

RestoreCommand::RestoreCommand | ( | List * | list | ) | `[inline]`

| Definition at line 424 of file Command.h.

## Member Function Documentation

void RestoreCommand::execute | ( |  | ) | `[virtual]`

| Implements Command. Definition at line 9 of file RestoreCommand.cpp. References Level::instance(), and Level::restore().

std::string RestoreCommand::getString | ( |  | ) | `[virtual]`

| Implements Command. Definition at line 14 of file RestoreCommand.cpp. References _id, List::getString(), and List::snoc().

static std::string RestoreCommand::id | ( |  | ) | `[inline, static]`

| Definition at line 428 of file Command.h. References _id. Referenced by Command::loadCommand().

## Member Data Documentation

const string RestoreCommand::_id = "restore"`[static, private]`

| Definition at line 430 of file Command.h. Referenced by getString(), and id().

The documentation for this class was generated from the following files:

- C:/Documents and Settings/jegan/Desktop/projectX/Command.h
- C:/Documents and Settings/jegan/Desktop/projectX/RestoreCommand.cpp