GenericListNode.h

From Giona

Revision as of 13:12, 20 June 2007 by Rmarino (Talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
#ifndef GENERICLISTNODE_H_
#define GENERICLISTNODE_H_

typedef int* genericListElemT;


class GenericListNode
{
public:
	GenericListNode();
	virtual ~GenericListNode();
	void setNext(GenericListNode *next);
	GenericListNode getNext();
	void setElem(genericListElemT elem);
	genericListElemT getElem();
private:
	genericListElemT elem;
	GenericListNode *next;
};
#endif /*GENERICLISTNODE_H_*/
Personal tools