Details

    • All
    • 1610bb8ff (master), a50bc70b8 (master), 52e0863bd (master), 3f1a381c5 (master), ff46a9a8e (master), bc2faebe0 (master)

    Description

      When designing the Loop functionality, take the following requirements into account:

      1. Iteration index (part of Iterator)
        • Index of int or qint64 value, possibly optional, as it may not be relevant for Foreach with an infinite number of iterations
      2. Forever
        • Like while(true)
      3. Until (dynamic condition)
        • Like while(condition())
      4. Simple repeater with static number of iterations
        • e.g. Repeat(5)
      5. The repeater with dynamic number of iterations
        • The exact number must be set in iterator's init handler, i.e. when init is called, the condition handler is returned
      6. General Loop element, taking an iterator with init and condition handlers (would increment handler be also needed?)
        • Placed in Group as GroupItem
      7. Support iterators with unknown number of iterations, like Utils::FileContainer with Utils::FileContainerIterator

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes