![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
Dependencies: EthernetNetIf NTPClient_NetServices mbed
Diff: ItemSet.h
- Revision:
- 0:d441275f622f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ItemSet.h Mon Aug 09 07:01:43 2010 +0000 @@ -0,0 +1,26 @@ +#ifndef _INC_ITEMSET +#define _INC_ITEMSET + +#include "Object.h" +#include "mbed.h" +class Item{ +public: + Item* nextItem; + Object* object; +}; + +class ItemSet{ +private: + Item* firstItem; + Item* currentItem; + int numOfItems; +public: + ItemSet(); + Object* First(); + Object* Next(); + void AddItem(Object* inObj); + int GetNumOfItems(); + Object* GetCurrentObject(); + Object* SerchId(unsigned int inId); +}; +#endif \ No newline at end of file