This is baidlist.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 */ /* */ /********************************************************/ // structure for keeping track of a list of base assemblies // that reference a composite part as either a shared or private member class BAListElem { public: BaseAssembly* ba; // reference to a base assembly BAListElem* next; }; class BAIdList { private: BAListElem* listPtr; BAListElem* current; public: BAIdList() {listPtr = NULL; current=NULL;}; void insert(BaseAssembly* ba); // insert a new BA ref in list BaseAssembly* next(); // scan list returning all elements void initScan(); // scan list returning all elements };
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.