本页内容

QOpcUaContentFilterElementResult Class

OPC UA 的 ContentFilterElementResult。更多内容...

标题: #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 中的值设置到此内容过滤器元素的结果中。

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