QtTaskTree::For Class

class QtTaskTree::For

A for loop element. More...

Header: #include <qtasktree.h>

Note: All functions in this class are reentrant.

Public Functions

For(const QtTaskTree::Iterator &iterator)

Detailed Description

A for element, holding an iterator, enabling loop constructs like:

For (RepeatIterator(5)) >> Do {
    task1,
    task2
}

See also Iterator and Do.

Member Function Documentation

[explicit] For::For(const QtTaskTree::Iterator &iterator)

Constructs the For loop element, holding an iterator. Use the stream insertion operator with Do element to place the whole construct in a task tree recipe.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.