QScxmlDataModel::ForeachLoopBody Class

class QScxmlDataModel::ForeachLoopBody

ForeachLoopBody 类表示在 SCXML foreach 循环的每次迭代中执行的函数。更多

公共函数

ForeachLoopBody()
virtual ~ForeachLoopBody()
virtual void run(bool *ok) = 0

详细说明

成员函数文档

ForeachLoopBody::ForeachLoopBody()

创建一个新的 foreach 循环体。

[virtual noexcept] ForeachLoopBody::~ForeachLoopBody()

销毁 foreach 循环体。

[pure virtual] void ForeachLoopBody::run(bool *ok)

该函数在每次迭代时执行。如果执行失败,ok 设置为false ,否则设置为true

© 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.