Ingredient Class Reference

Inherits Command.

Collaboration diagram for Ingredient:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Ingredient (string amount, string ingredient)
void execute (void)

Private Attributes

string _ingredient
string _amount


Detailed Description

Definition at line 13 of file Command.cpp.


Constructor & Destructor Documentation

Ingredient::Ingredient ( string  amount,
string  ingredient 
) [inline]

Definition at line 15 of file Command.cpp.

References _amount, and _ingredient.


Member Function Documentation

void Ingredient::execute ( void   )  [inline, virtual]

Implements Command.

Definition at line 19 of file Command.cpp.

References _amount, and _ingredient.


Member Data Documentation

string Ingredient::_amount [private]

Definition at line 24 of file Command.cpp.

Referenced by execute(), and Ingredient().

string Ingredient::_ingredient [private]

Definition at line 23 of file Command.cpp.

Referenced by execute(), and Ingredient().


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

Generated on Sat Mar 21 13:50:59 2009 for Command Design Pattern by  doxygen 1.5.8