ForeachLoopBody Class

(QScxmlDataModel::ForeachLoopBody)

The ForeachLoopBody class represents a function to be executed on each iteration of an SCXML foreach loop. 更多...

头文件: #include <ForeachLoopBody>
qmake: QT += scxml
开始支持版本: Qt 5.8

公有函数

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

详细描述

The ForeachLoopBody class represents a function to be executed on each iteration of an SCXML foreach loop.

成员函数

[virtual] ForeachLoopBody::~ForeachLoopBody()

Destroys a foreach loop body.

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

This function is executed on each iteration. If the execution fails, ok is set to false, otherwise it is set to true.