이 페이지에서

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)
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()

default는 매개변수가 설정되지 않은 속성 피연산자를 생성합니다.

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()도 참조하십시오 .

QOpcUaAttributeOperand::operator QVariant() const

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

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

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

관련 비회원

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

lhs 의 값이 rhs 과 다를 경우 true 을 반환합니다.

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

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

lhs 의 값이 rhs 과 동일할 경우 true 를 반환합니다.

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

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