本页内容

QScxmlExecutableContent::ForeachInfo Struct

struct QScxmlExecutableContent::ForeachInfo

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

头文件: #include <qscxmlexecutablecontent.h>
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

该变量存储迭代变量的名称

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