VIPER REFERENCE MANUAL
template<class itemType> iflListIterRev ( | const iflList<itemType>* list); |
template<class itemType> iflListIterRev ( | const iflList<itemType>& list); |
itemType* curr ( | ) const; |
itemType* next ( | ); |
void reset ( | ); |
iflList<someItem> list; for (int i = 0; i < 10; i++) list.append(new someItem(i));
iflListIterRev<someItem> iter(list); someItem* item; while (item = iter.next()) { // do something with item (and possibly unlink/delete it) }
template<class itemType> iflListIterRev ( | const iflList<itemType>* list); |
template<class itemType> iflListIterRev ( | const iflList<itemType>& list); |