QOpcUaAttributeOperand Class

OPC UA AttributeOperand 유형. 더 보기...

헤더: #include <QOpcUaAttributeOperand>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

공용 함수

QOpcUaAttributeOperand()
QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)
QString alias() const
QOpcUa::NodeAttribute attributeId() const
QList<QOpcUaRelativePathElement> browsePath() const
QList<QOpcUaRelativePathElement> &browsePathRef()
QString indexRange() const
QString nodeId() const
void setAlias(const QString &alias)
void setAttributeId(QOpcUa::NodeAttribute attributeId)
void setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)
void setIndexRange(const QString &indexRange)
void setNodeId(const QString &nodeId)
QVariant operator QVariant() const
QOpcUaAttributeOperand &operator=(const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

상세 설명

AttributeOperand 은 OPC UA 1.05 파트 4, 7.7.4.4에 정의되어 있습니다. QOpcUaSimpleAttributeOperand 와 목적은 동일하지만 구성 가능한 옵션이 더 많습니다.

멤버 함수 문서

QOpcUaAttributeOperand::QOpcUaAttributeOperand()

기본값은 매개변수가 설정되지 않은 속성 피연산자를 구성합니다.

QOpcUaAttributeOperand::QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)

rhs 에서 속성 피연산자를 구성합니다.

QString QOpcUaAttributeOperand::alias() const

이 QAttributeOperand의 별칭을 반환합니다.

setAlias()도 참조하십시오 .

QOpcUa::NodeAttribute QOpcUaAttributeOperand::attributeId() const

browsePath 이 가리키고 있는 노드의 속성에 대한 속성 ID를 반환합니다.

setAttributeId()도 참조하세요 .

QList<QOpcUaRelativePathElement> QOpcUaAttributeOperand::browsePath() const

찾아보기 경로를 반환합니다.

setBrowsePath()도 참조하세요 .

QList<QOpcUaRelativePathElement> &QOpcUaAttributeOperand::browsePathRef()

찾아보기 경로에 대한 참조를 반환합니다.

browsePath()도 참조하세요 .

QString QOpcUaAttributeOperand::indexRange() const

인덱스 범위 문자열을 반환합니다.

setIndexRange()도 참조하세요 .

QString QOpcUaAttributeOperand::nodeId() const

타입 정의 노드의 노드 ID를 반환합니다.

setNodeId()도 참조하세요 .

void QOpcUaAttributeOperand::setAlias(const QString &alias)

별칭을 alias 으로 설정하면 이 인스턴스를 필터의 다른 연산에 피연산자로 사용할 수 있습니다.

alias()도 참조하세요 .

void QOpcUaAttributeOperand::setAttributeId(QOpcUa::NodeAttribute attributeId)

속성 ID를 attributeId 로 설정합니다.

attributeId()도 참조하세요 .

void QOpcUaAttributeOperand::setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)

nodeId()에서 시작하는 노드의 상대 경로를 browsePath 으로 설정합니다.

browsePath()도 참조하세요 .

void QOpcUaAttributeOperand::setIndexRange(const QString &indexRange)

단일 값 또는 속성 값의 하위 집합을 식별하는 데 사용되는 인덱스 범위 문자열을 indexRange 으로 설정합니다.

indexRange()도 참조하세요 .

void QOpcUaAttributeOperand::setNodeId(const QString &nodeId)

유형 정의 노드의 노드 ID를 nodeId 로 설정합니다.

nodeId()도 참조하세요 .

QVariant QOpcUaAttributeOperand::operator QVariant() const

이 속성 피연산자를 QVariant 로 변환합니다.

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

이 속성 피연산자에 rhs 의 값을 설정합니다.

관련 비회원

[noexcept, since 6.7] bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

lhsrhs 과 다른 값이면 true 을 반환합니다.

이 함수는 Qt 6.7에 도입되었습니다.

[noexcept, since 6.7] bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

lhsrhs 과 같은 값이면 true 을 반환합니다.

이 함수는 Qt 6.7에 도입되었습니다.

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