QOpcUaReferenceDescription Class

노드에 대한 정보를 포함합니다. 더 보기...

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

공용 함수

QOpcUaReferenceDescription()
QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
~QOpcUaReferenceDescription()
QOpcUaQualifiedName browseName() const
QOpcUaLocalizedText displayName() const
bool isForwardReference() const
QOpcUa::NodeClass nodeClass() const
QString refTypeId() const
void setBrowseName(const QOpcUaQualifiedName &browseName)
void setDisplayName(const QOpcUaLocalizedText &displayName)
void setIsForwardReference(bool isForwardReference)
void setNodeClass(QOpcUa::NodeClass nodeClass)
void setRefTypeId(const QString &refTypeId)
void setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)
void setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
QOpcUaExpandedNodeId targetNodeId() const
QOpcUaExpandedNodeId typeDefinition() const
QOpcUaReferenceDescription &operator=(const QOpcUaReferenceDescription &other)

상세 설명

이 클래스는 QOpcUaNode::browse() 또는 QOpcUaNode::browseChildren() 호출의 결과를 반환하는 데 사용됩니다.

여기에는 노드를 찾아보기 작업의 시작 노드에 연결하는 데 사용되는 참조의 유형과 방향, 대상의 유형 정의 노드의 노드 ID 및 다음 node attributes 의 값이 포함됩니다:

속성
NodeId
BrowseName
DisplayName
NodeClass

멤버 함수 문서

QOpcUaReferenceDescription::QOpcUaReferenceDescription()

빈 QOpcUaReferenceDescription 객체를 생성합니다.

QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)

QOpcUaReferenceDescription 객체의 복사본을 생성합니다 other.

[noexcept] QOpcUaReferenceDescription::~QOpcUaReferenceDescription()

의 디스트럭터 QOpcUaReferenceDescription

QOpcUaQualifiedName QOpcUaReferenceDescription::browseName() const

노드의 찾아보기 이름을 반환합니다.

setBrowseName()도 참조하세요 .

QOpcUaLocalizedText QOpcUaReferenceDescription::displayName() const

노드의 표시 이름을 반환합니다.

setDisplayName()도 참조하세요 .

bool QOpcUaReferenceDescription::isForwardReference() const

참조가 정방향인 경우 true 을 반환합니다.

setIsForwardReference()도 참조하세요 .

QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const

노드의 노드 클래스를 반환합니다.

setNodeClass()도 참조하세요 .

QString QOpcUaReferenceDescription::refTypeId() const

노드의 참조 유형 ID를 반환합니다.

setRefTypeId()도 참조하세요 .

void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)

노드의 찾아보기 이름을 browseName 로 설정합니다.

browseName()도 참조하세요 .

void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)

노드의 표시 이름을 displayName 로 설정합니다.

displayName()도 참조하세요 .

void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)

참조를 위해 isForwardReferenceisForwardReference 정보로 설정합니다.

isForwardReference()도 참조하세요 .

void QOpcUaReferenceDescription::setNodeClass(QOpcUa::NodeClass nodeClass)

노드의 노드 클래스를 nodeClass 로 설정합니다.

nodeClass()도 참조하세요 .

void QOpcUaReferenceDescription::setRefTypeId(const QString &refTypeId)

노드의 참조 유형 ID를 refTypeId 로 설정합니다.

refTypeId() 및 QOpcUa::nodeIdFromReferenceType()도 참조하세요 .

void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)

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

targetNodeId()도 참조하세요 .

void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)

typeDefinition 를 유형 정의의 ID로 설정합니다.

typeDefinition()도 참조하세요 .

QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const

노드의 노드 ID를 반환합니다.

setTargetNodeId()도 참조하세요 .

QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const

유형 정의 ID를 반환합니다.

setTypeDefinition()도 참조하세요 .

QOpcUaReferenceDescription &QOpcUaReferenceDescription::operator=(const QOpcUaReferenceDescription &other)

이 객체에 other 값을 할당합니다.

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