QScxmlExecutableContent::ForeachInfo Struct

struct QScxmlExecutableContent::ForeachInfo

ForeachInfo 类表示一个 foreach 结构。更多

头文件: #include <ForeachInfo>
CMake: find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml

公共变量

QScxmlExecutableContent::StringId array
QScxmlExecutableContent::StringId context
QScxmlExecutableContent::StringId index
QScxmlExecutableContent::StringId item

详细说明

成员变量文档

QScxmlExecutableContent::StringId ForeachInfo::array

该变量用于保存被遍历数组的名称

QScxmlExecutableContent::StringId ForeachInfo::context

该变量用于保存计算表达式的上下文

QScxmlExecutableContent::StringId ForeachInfo::index

该变量包含索引变量的名称

QScxmlExecutableContent::StringId ForeachInfo::item

该变量包含迭代变量的名称

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