00001 #ifndef _pa_test_COLLECTIONITERATOR_FIRST 00002 #define _pa_test_COLLECTIONITERATOR_FIRST 00003 00004 class ObjectCollection; 00005 class Object; 00006 class ObjectLink; 00007 00008 class CollectionIterator { 00009 00010 public: 00011 00012 CollectionIterator (ObjectCollection *pOn); 00013 ~CollectionIterator (); 00014 00015 Object *GetNext(); 00016 00017 private: 00018 00019 bool AnyMoreObjects (); 00020 00021 ObjectCollection *Collection; 00022 ObjectLink *Position; 00023 00024 }; 00025 00026 #endif