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 |
| 브라우즈 이름 |
| DisplayName |
| NodeClass |
멤버 함수 문서
QOpcUaReferenceDescription::QOpcUaReferenceDescription()
빈 QOpcUaReferenceDescription 객체를 생성합니다.
QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
other 의 QOpcUaReferenceDescription 객체 복사본을 생성합니다.
[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)
isForwardReference 를 참조에 대한 isForwardReference 정보로 설정합니다.
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 `의 값을 할당합니다.
© 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.