W3cubDocs

/Qt

ForeachLoopBody Class

class QScxmlDataModel::ForeachLoopBody

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

This class was introduced in Qt 5.8.

Public Functions

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

Detailed Description

Member Function Documentation

ForeachLoopBody::ForeachLoopBody()

Creates a new foreach loop body.

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

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qscxmldatamodel-foreachloopbody.html