ForeachLoopBody Class

class QScxmlDataModel ::ForeachLoopBody

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

该类在 Qt 5.8 引入。

公共函数

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

详细描述

成员函数文档编制

ForeachLoopBody:: ForeachLoopBody ()

Creates a new foreach loop body.

[虚拟] 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 被设为 false , otherwise it is set to true .