Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/howto/Iterator


Ignore:
Timestamp:
Apr 12, 2017, 11:47:30 PM (8 years ago)
Author:
landauf
Comment:

fixed links

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/Iterator

    v1 v2  
    11= HowTo: ObjectLists and Iterators =
    2 [[TracNav(TracNav/TOC_Development)]]
    32
    43== Description ==
    5 Every instance of a class which is in the [wiki:howto/ClassHierarchy class hierarchy] is stored in a [wiki:ObjectListBase list]. Additionally it's stored in the lists of all classes it is derived. So in the list of "BaseClass" you'll find instances of "BaseClass" '''and''' "DerivedClass" (if DerivedClass is derived from BaseClass as the names suggest).
     4Every instance of a class which is in the [wiki:howto/ClassHierarchy class hierarchy] is stored in a [wiki:doc/ObjectListBase list]. Additionally it's stored in the lists of all classes it is derived. So in the list of "BaseClass" you'll find instances of "BaseClass" '''and''' "DerivedClass" (if DerivedClass is derived from BaseClass as the names suggest).
    65
    7 Of course it's possible to iterate through all instances of a class. This is achieved by using iterators. There are two types: [wiki:ObjectListIterator] and [wiki:Iterator]. This page explains the difference and how to use them.
     6Of course it's possible to iterate through all instances of a class. This is achieved by using iterators. There are two types: [wiki:doc/ObjectListIterator] and [wiki:doc/Iterator]. This page explains the difference and how to use them.
    87
    98== !ObjectListIterator ==
     
    1918}}}
    2019
    21 See [wiki:ObjectListIterator] for detailed information.
     20See [wiki:doc/ObjectListIterator] for detailed information.
    2221
    2322== Iterator ==
     
    3534}}}
    3635
    37 See [wiki:Iterator] for detailed information.
     36See [wiki:doc/Iterator] for detailed information.