QOpcUaRelativePathElement Class

OPC UA 상대 경로 요소. 더 보기...

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

공용 함수

QOpcUaRelativePathElement()
QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType)
QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType)
QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs)
bool includeSubtypes() const
bool isInverse() const
QString referenceTypeId() const
void setIncludeSubtypes(bool includeSubtypes)
void setIsInverse(bool isInverse)
void setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)
void setReferenceTypeId(const QString &referenceTypeId)
void setTargetName(const QOpcUaQualifiedName &targetName)
QOpcUaQualifiedName targetName() const
(since 6.7) QVariant operator QVariant() const
QOpcUaRelativePathElement &operator=(const QOpcUaRelativePathElement &rhs)
(since 6.7) bool operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
bool operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)

상세 설명

QOpcUaRelativePathElement는 OPC UA 서버에서 상대 경로의 요소를 정의합니다. 이는 QOpcUaNode::resolveBrowsePath()에서 노드 ID에 대한 탐색 경로를 확인하는 데 필요합니다.

멤버 함수 문서

QOpcUaRelativePathElement::QOpcUaRelativePathElement()

두 플래그가 모두 false 로 설정된 상대 경로 요소를 구성합니다.

QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType)

targetName target , QOpcUa::ReferenceTypeId refType 및 두 플래그가 모두 false 로 설정된 상대 경로 요소를 구성합니다.

QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType)

targetName target , 참조 유형 노드 ID refType 및 두 플래그가 모두 false 로 설정된 상대 경로 요소를 구성합니다.

QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs)

rhs 에서 상대 경로 요소를 구성합니다.

bool QOpcUaRelativePathElement::includeSubtypes() const

includeSubtypes 플래그의 값을 반환합니다.

setIncludeSubtypes()도 참조하세요 .

bool QOpcUaRelativePathElement::isInverse() const

isInverse 플래그의 값을 반환합니다.

setIsInverse()도 참조하세요 .

QString QOpcUaRelativePathElement::referenceTypeId() const

이 노드와 이전 노드를 연결하는 참조의 유형 ID를 반환합니다.

setReferenceTypeId()도 참조하세요 .

void QOpcUaRelativePathElement::setIncludeSubtypes(bool includeSubtypes)

includeSubtypes 플래그를 includeSubtypes 으로 설정합니다. 플래그가 true 인 경우 조회는 하위 유형이 referenceTypeId()인 참조도 따릅니다.

includeSubtypes()도 참조하세요 .

void QOpcUaRelativePathElement::setIsInverse(bool isInverse)

isInverse 플래그를 isInverse 으로 설정합니다. 플래그가 true 인 경우 조회는 역 참조를 따릅니다.

isInverse()도 참조하세요 .

void QOpcUaRelativePathElement::setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)

참조 유형 ID를 referenceTypeId 로 설정합니다.

referenceTypeId()도 참조하세요 .

void QOpcUaRelativePathElement::setReferenceTypeId(const QString &referenceTypeId)

참조 유형 ID를 referenceTypeId 로 설정합니다.

void QOpcUaRelativePathElement::setTargetName(const QOpcUaQualifiedName &targetName)

대상 이름을 targetName(예: QOpcUaQualifiedName(0, "DataTypes")로 설정합니다.

targetName()도 참조하세요 .

QOpcUaQualifiedName QOpcUaRelativePathElement::targetName() const

참조 대상의 정규화된 이름을 반환합니다.

setTargetName()도 참조하세요 .

[since 6.7] QVariant QOpcUaRelativePathElement::operator QVariant() const

이 상대 경로 요소를 포함하는 QVariant 을 반환합니다.

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

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

이 상대 경로 요소에서 rhs 값을 설정합니다.

관련 비회원

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

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

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

[noexcept] bool operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)

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

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