Spec-Zone.ru › Qt

Класс QOpcUaReferenceDescription

Содержит информацию о узле. Подробнее...

Заголовок: #include <QOpcUaReferenceDescription>
qmake: QT += opcua
  • Список всех членов, включая унаследованные

Открытые функции

QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
QOpcUaReferenceDescription()
QOpcUaReferenceDescription & operator=(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

Подробное описание

Этот класс используется для возврата результатов вызова QOpcUaNode::browse() или QOpcUaNode::browseChildren().

Он содержит тип и направление ссылки, используемой для подключения узла к узлу начала операции обхода, идентификатор узла определения типа целевого узла и значения следующих атрибутов узла:

Атрибут
NodeId
BrowseName
DisplayName
NodeClass

Документация функций-членов

QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)

Создает копию объекта QOpcUaReferenceDescription other.

QOpcUaReferenceDescription::QOpcUaReferenceDescription()

Создаёт пустой объект QOpcUaReferenceDescription

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

Присваивает значение other этому объекту.

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

Возвращает идентификатор типа ссылки узла.

См. также 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)

Устанавливает идентификатор типа ссылки узла в refTypeId.

См. также refTypeId() и QOpcUa::nodeIdFromReferenceType().

void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)

Устанавливает идентификатор узла в nodeId.

См. также targetNodeId().

void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)

Устанавливает typeDefinition в качестве идентификатора определения типа.

См. также typeDefinition().

QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const

Возвращает идентификатор узла.

См. также setTargetNodeId().

QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const

Возвращает идентификатор определения типа.

См. также setTypeDefinition().

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuareferencedescription.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API