Changes between Version 6 and Version 7 of code/doc/ObjectListIterator
- Timestamp:
- Oct 10, 2008, 3:27:25 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/ObjectListIterator
v6 v7 24 24 == Examples == 25 25 {{{ 26 for (ObjectList< myClass>::iterator it = ObjectList<myClass>::begin();27 it != ObjectList< myClass>::end(); ++it)26 for (ObjectList<MyClass>::iterator it = ObjectList<MyClass>::begin(); 27 it != ObjectList<MyClass>::end(); ++it) 28 28 { 29 29 it->callSomeFunction(...); 30 myClass* storeTheObject = (*it);30 MyClass* storeTheObject = (*it); 31 31 } 32 32 }}}