- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# FlushCommand Class Reference

`#include <Command.h>`

Inheritance diagram for FlushCommand:

List of all members.

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

## Detailed Description

Definition at line 530 of file Command.h.

## Constructor & Destructor Documentation

FlushCommand::FlushCommand | ( |  | ) |

| Definition at line 11 of file FlushCommand.cpp.

FlushCommand::FlushCommand | ( | List * | command | ) |

| Definition at line 15 of file FlushCommand.cpp.

## Member Function Documentation

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

| Implements Command. Definition at line 19 of file FlushCommand.cpp. References CommandManager::flush(), and CommandManager::instance().

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

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

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

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

## Member Data Documentation

const string FlushCommand::_id = "flush"`[static, private]`

| Definition at line 540 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/FlushCommand.cpp