- class QOpcUaQualifiedName¶
The OPC UA QualifiedName type. More…
Synopsis¶
Methods¶
def
__init__()
def
name()
def
namespaceIndex()
def
__eq__()
def
setName()
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__1 –
QOpcUaQualifiedName
Constructs a qualified name from
rhs
.- __init__(namespaceIndex, name)
- Parameters:
namespaceIndex – int
name – str
Constructs a qualified name with namespace index
namespaceIndex
and the namename
.- name()¶
- Return type:
str
Returns the name.
See also
- namespaceIndex()¶
- Return type:
int
Returns the namespace index.
See also
- __eq__(rhs)¶
- Parameters:
rhs –
QOpcUaQualifiedName
- Return type:
bool
Returns
true
if this qualified name has the same value asrhs
.- setName(name)¶
- Parameters:
name – str
Sets the name to
name
.See also
- setNamespaceIndex(namespaceIndex)¶
- Parameters:
namespaceIndex – int
Sets the namespace index to
namespaceIndex
.See also