QOpcUaQualifiedName Class

The OPC UA QualifiedName type. 更多...

头: #include <QOpcUaQualifiedName>
qmake: QT += opcua

公共函数

  QOpcUaQualifiedName (quint16 namespaceIndex , const QString & name )
  QOpcUaQualifiedName (const QOpcUaQualifiedName & rhs )
QOpcUaQualifiedName & operator= (const QOpcUaQualifiedName & rhs )
QString name () const
quint16 namespaceIndex () const
void setName (const QString & name )
void setNamespaceIndex (quint16 namespaceIndex )
QVariant operator QVariant () const
bool operator== (const QOpcUaQualifiedName & rhs ) const

详细描述

This is the Qt OPC UA representation for the OPC UA QualifiedName type defined in OPC-UA part 3, 8.3. A QualifiedName is a name qualified by a namespace index. The namespace index corresponds to an entry in the server's namespace array. QualifiedName is mainly used to represent the BrowseName attribute of a node.

成员函数文档编制

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

Constructs a qualified name with namespace index namespaceIndex and the name name .

QOpcUaQualifiedName:: QOpcUaQualifiedName (const QOpcUaQualifiedName & rhs )

Constructs a qualified name from rhs .

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

设置值从 rhs in this qualified name.

QString QOpcUaQualifiedName:: name () const

Returns the name.

另请参阅 setName ().

quint16 QOpcUaQualifiedName:: namespaceIndex () const

Returns the namespace index.

另请参阅 setNamespaceIndex ().

void QOpcUaQualifiedName:: setName (const QString & name )

Sets the name to name .

另请参阅 name ().

void QOpcUaQualifiedName:: setNamespaceIndex ( quint16 namespaceIndex )

Sets the namespace index to namespaceIndex .

另请参阅 namespaceIndex ().

QVariant QOpcUaQualifiedName:: operator QVariant () const

Converts this qualified name to QVariant .

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

返回 true if this qualified name has the same value as rhs .