Changes between Version 5 and Version 6 of code/doc/Iterator
- Timestamp:
- Apr 12, 2017, 11:15:10 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Iterator
v5 v6 1 1 = Iterator = 2 [[TracNav(TracNav/TOC_Development)]]3 2 4 3 The Iterator allows you to iteratate through any [wiki:ObjectList] you like. It's possible to iterate through all objects of class '''B''' with an Iterator of class '''A''', under condition that '''B''' is a child of '''A'''. Iterator does a dynamic_cast to the requested class. Because this is not really performant, you should always use [wiki:ObjectListIterator] instead in case that '''A''' == '''B'''.