This is PartIdList.h in view mode; [Download] [Up]
/********************************************************/
/* */
/* OO7 Benchmark */
/* */
/* COPYRIGHT (C) 1993 */
/* */
/* Michael J. Carey */
/* David J. DeWitt */
/* Jeffrey Naughton */
/* Madison, WI U.S.A. */
/* */
/* ALL RIGHTS RESERVED */
/* */
/********************************************************/
#ifndef PARTID2_H
#define PARTID2_H
class ListElem {
public:
int value;
ListElem* next;
};
class PartIdList {
private:
ListElem* listPtr;
public:
PartIdList() { listPtr = NULL; };
void insert(int val);
int remove();
void clear();
int empty() { return listPtr == NULL; };
};
#endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.