Dependencies:   EthernetNetIf NTPClient_NetServices mbed

ItemSet.h

Committer:
nucho
Date:
2010-08-11
Revision:
1:b494b1b91ba3
Parent:
0:d441275f622f

File content as of revision 1:b494b1b91ba3:

#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