#include <item.h>
Public Member Functions | |
GarbageItem (const Item &origin) | |
Item & | origin () |
Returns the item part stored in this garbage item. | |
const Item & | origin () const |
Returns the item part stored in this garbage item. | |
virtual | ~GarbageItem () |
This class repeats the structure of an item holding an instance of it, but it derives from Garbageable. This makes it a vessel for item references.
It must be created by a MemPool with the MemPool::referenceItem() method.
Falcon::GarbageItem::GarbageItem | ( | const Item & | origin | ) | [inline] |
virtual Falcon::GarbageItem::~GarbageItem | ( | ) | [inline, virtual] |
Item& Falcon::GarbageItem::origin | ( | ) | [inline] |
Returns the item part stored in this garbage item.
const Item& Falcon::GarbageItem::origin | ( | ) | const [inline] |
Returns the item part stored in this garbage item.
Referenced by Falcon::Item::dereference().