Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Shelf Class Reference

#include <Shelf.h>

Inheritance diagram for Shelf:

[legend]
Collaboration diagram for Shelf:
[legend]
List of all members.

Public Methods

 Shelf ()
virtual ~Shelf ()
void setInventory (Inventory *i)
InventorygetInventory ()
void removeInventory ()
virtual void draw ()
bool canHoldInventory ()
void setCanHoldInventory (bool t)

Protected Attributes

Inventory_inventory
bool _canHoldInventory

Detailed Description

holds a shelf for stores each shelf hold an object


Constructor & Destructor Documentation

Shelf::Shelf  
 

Shelf::~Shelf   [virtual]
 


Member Function Documentation

bool Shelf::canHoldInventory   [inline]
 

Reimplemented in Table.

void Shelf::draw   [virtual]
 

Reimplemented from Object.

Reimplemented in Table.

Inventory* Shelf::getInventory   [inline]
 

Reimplemented in Table.

void Shelf::removeInventory   [inline]
 

Reimplemented in Table.

void Shelf::setCanHoldInventory bool    t [inline]
 

Reimplemented in Table.

void Shelf::setInventory Inventory   i [inline]
 

Reimplemented in Table.


Member Data Documentation

bool Shelf::_canHoldInventory [protected]
 

Reimplemented in Table.

Inventory* Shelf::_inventory [protected]
 

Reimplemented in Table.


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:12 2004 for naturecalls by doxygen1.2.18