QtTaskTree::For Class
class QtTaskTree::Forforループの要素。詳細...
| ヘッダー: | #include <qtasktree.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS TaskTree) target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| 以下のように: | Qt 6.11 |
| ステータス: | テクノロジープレビュー |
このクラスはテクノロジープレビュー段階にあり、変更される可能性があります。
注:このクラスのすべての関数は再入可能です。
パブリック関数
関連する非メンバー
| QtTaskTree::Group | operator>>(const QtTaskTree::For &forItem, const QtTaskTree::Do &doItem) |
メンバ関数のドキュメント
[explicit] For::For(const QtTaskTree::Iterator &iterator)
iterator を保持するForループ要素を構築します。stream insertion operator とDo 要素を組み合わせて、この構造全体をタスクツリーのレシピに配置します。
[explicit] For::For(qsizetype count)
Forループ要素を構築し、count 回繰り返します。
これは、以下と同等です:
For (RepeatIterator(count))これはオーバーロードされた関数です。
RepeatIteratorも参照してください 。
[constexpr noexcept default] For::For(QtTaskTree::For &&other)
For のインスタンスをムーブコンストラクトで生成します。
関連する非メンバー
QtTaskTree::Group operator>>(const QtTaskTree::For &forItem, const QtTaskTree::Do &doItem)
forItem とdoItem のボディを結合し、タスクツリーのレシピですぐに使用できるGroup を返します。
© 2026 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.