QOpcUaContentFilterElementResult Class

OPC UA 内容过滤元素结果。更多

头文件: #include <QOpcUaContentFilterElementResult>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

公共函数

QOpcUaContentFilterElementResult()
QOpcUaContentFilterElementResult(const QOpcUaContentFilterElementResult &rhs)
QList<QOpcUa::UaStatusCode> operandStatusCodes() const
QList<QOpcUa::UaStatusCode> &operandStatusCodesRef()
void setOperandStatusCodes(const QList<QOpcUa::UaStatusCode> &operandStatusCodes)
void setStatusCode(QOpcUa::UaStatusCode statusCode)
QOpcUa::UaStatusCode statusCode() const
QOpcUaContentFilterElementResult &operator=(const QOpcUaContentFilterElementResult &rhs)

详细说明

QOpcUaContentFilterElementResult 包含一个过滤元素及其所有操作数的状态代码。

成员函数文档

QOpcUaContentFilterElementResult::QOpcUaContentFilterElementResult()

默认情况下会构建一个未设置参数的内容过滤元素结果。

QOpcUaContentFilterElementResult::QOpcUaContentFilterElementResult(const QOpcUaContentFilterElementResult &rhs)

rhs 中构建内容过滤元素结果。

QList<QOpcUa::UaStatusCode> QOpcUaContentFilterElementResult::operandStatusCodes() const

按过滤器中使用的顺序返回所有过滤器操作数的状态代码。

另请参阅 setOperandStatusCodes()。

QList<QOpcUa::UaStatusCode> &QOpcUaContentFilterElementResult::operandStatusCodesRef()

返回操作数状态代码的引用。

另请参见 operandStatusCodes()。

void QOpcUaContentFilterElementResult::setOperandStatusCodes(const QList<QOpcUa::UaStatusCode> &operandStatusCodes)

将所有过滤操作数的状态代码设为operandStatusCodes

另请参阅 operandStatusCodes() 。

void QOpcUaContentFilterElementResult::setStatusCode(QOpcUa::UaStatusCode statusCode)

将过滤元件的状态代码设为statusCode

另请参阅 statusCode() 。

QOpcUa::UaStatusCode QOpcUaContentFilterElementResult::statusCode() const

返回过滤元素的状态代码。

另请参阅 setStatusCode()。

QOpcUaContentFilterElementResult &QOpcUaContentFilterElementResult::operator=(const QOpcUaContentFilterElementResult &rhs)

在此内容过滤元素结果中设置rhs 的值。

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