QOpcUaQualifiedName Class

OPC UA QualifiedName 유형입니다. 더 보기...

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

공용 함수

QOpcUaQualifiedName()
QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)
QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)
QString name() const
quint16 namespaceIndex() const
void setName(const QString &name)
void setNamespaceIndex(quint16 namespaceIndex)
QVariant operator QVariant() const
QOpcUaQualifiedName &operator=(const QOpcUaQualifiedName &rhs)
bool operator==(const QOpcUaQualifiedName &rhs) const
(since 6.3) QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

상세 설명

이것은 OPC UA 1.05 파트 3, 8.3에 정의된 OPC UA QualifiedName 유형에 대한 Qt OPC UA 표현입니다. QualifiedName은 네임스페이스 인덱스로 한정된 이름입니다. 네임스페이스 인덱스는 서버의 네임스페이스 배열에 있는 항목에 해당합니다. QualifiedName은 주로 노드의 BrowseName 속성을 나타내는 데 사용됩니다.

멤버 함수 문서

QOpcUaQualifiedName::QOpcUaQualifiedName()

기본값은 매개변수가 설정되지 않은 정규화된 이름을 구성합니다.

QOpcUaQualifiedName::QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)

네임스페이스 인덱스 namespaceIndex 와 이름 name 을 사용하여 정규화된 이름을 구성합니다.

QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)

rhs 에서 정규화된 이름을 생성합니다.

QString QOpcUaQualifiedName::name() const

이름을 반환합니다.

setName()도 참조하세요 .

quint16 QOpcUaQualifiedName::namespaceIndex() const

네임스페이스 인덱스를 반환합니다.

setNamespaceIndex()도 참조하세요 .

void QOpcUaQualifiedName::setName(const QString &name)

이름을 name 로 설정합니다.

name()도 참조하세요 .

void QOpcUaQualifiedName::setNamespaceIndex(quint16 namespaceIndex)

네임스페이스 인덱스를 namespaceIndex 로 설정합니다.

namespaceIndex()도 참조하세요 .

QVariant QOpcUaQualifiedName::operator QVariant() const

이 한정된 이름을 QVariant 로 변환합니다.

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

rhs 의 값을 이 한정된 이름으로 설정합니다.

bool QOpcUaQualifiedName::operator==(const QOpcUaQualifiedName &rhs) const

이 한정된 이름의 값이 rhs 과 동일한 경우 true 을 반환합니다.

관련 비회원

[since 6.3] QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

debug 출력에 정규화된 name 을 씁니다.

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

QDebug참조하십시오 .

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