- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# SaveCommand Class Reference

`#include <Command.h>`

Inheritance diagram for SaveCommand:

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:

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