QOpcUaQualifiedName#

The OPC UA QualifiedName type. More

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

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.

class PySide6.QtOpcUa.QOpcUaQualifiedName#

PySide6.QtOpcUa.QOpcUaQualifiedName(arg__1)

PySide6.QtOpcUa.QOpcUaQualifiedName(namespaceIndex, name)

Parameters:

Default constructs a qualified name with no parameters set.

Constructs a qualified name from rhs.

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

PySide6.QtOpcUa.QOpcUaQualifiedName.name()#
Return type:

str

Returns the name.

See also

setName()

PySide6.QtOpcUa.QOpcUaQualifiedName.namespaceIndex()#
Return type:

int

Returns the namespace index.

PySide6.QtOpcUa.QOpcUaQualifiedName.__eq__(rhs)#
Parameters:

rhsPySide6.QtOpcUa.QOpcUaQualifiedName

Return type:

bool

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

PySide6.QtOpcUa.QOpcUaQualifiedName.setName(name)#
Parameters:

name – str

Sets the name to name.

See also

name()

PySide6.QtOpcUa.QOpcUaQualifiedName.setNamespaceIndex(namespaceIndex)#
Parameters:

namespaceIndex – int

Sets the namespace index to namespaceIndex.

See also

namespaceIndex()