class QOpcUaQualifiedName

The OPC UA QualifiedName type. More

Synopsis

Methods

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

__init__()

Default constructs a qualified name with no parameters set.

__init__(arg__1)
Parameters:

arg__1QOpcUaQualifiedName

Constructs a qualified name from rhs.

__init__(namespaceIndex, name)
Parameters:
  • namespaceIndex – int

  • name – str

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

name()
Return type:

str

Returns the name.

See also

setName()

namespaceIndex()
Return type:

int

Returns the namespace index.

__eq__(rhs)
Parameters:

rhsQOpcUaQualifiedName

Return type:

bool

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

setName(name)
Parameters:

name – str

Sets the name to name.

See also

name()

setNamespaceIndex(namespaceIndex)
Parameters:

namespaceIndex – int

Sets the namespace index to namespaceIndex.

See also

namespaceIndex()