QOpcUaRelativePathElement#
The OPC UA RelativePathElement. More…
Synopsis#
Functions#
def
includeSubtypes
()def
isInverse
()def
__eq__
(rhs)def
referenceTypeId
()def
setIncludeSubtypes
(includeSubtypes)def
setIsInverse
(isInverse)def
setReferenceTypeId
(referenceTypeId)def
setReferenceTypeId
(referenceTypeId)def
setTargetName
(targetName)def
targetName
()
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#
QOpcUaRelativePathElement
defines an element of a relative path on an OPC UA server. This is needed for resolution of browse paths to node ids in resolveBrowsePath()
.
- class PySide6.QtOpcUa.QOpcUaRelativePathElement#
PySide6.QtOpcUa.QOpcUaRelativePathElement(target, refType)
PySide6.QtOpcUa.QOpcUaRelativePathElement(target, refType)
PySide6.QtOpcUa.QOpcUaRelativePathElement(arg__1)
- Parameters:
target –
PySide6.QtOpcUa.QOpcUaQualifiedName
refType –
ReferenceTypeId
Constructs a relative path element with both flags set to false
.
Constructs a relative path element with targetName
target
, ReferenceTypeId
refType
and both flags set to false
.
Constructs a relative path element with targetName
target
, reference type node id refType
and both flags set to false
.
Constructs a relative path element from rhs
.
- PySide6.QtOpcUa.QOpcUaRelativePathElement.includeSubtypes()#
- Return type:
bool
Returns the value of the includeSubtypes flag.
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.isInverse()#
- Return type:
bool
Returns the value of the isInverse flag.
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.__eq__(rhs)#
- Parameters:
- Return type:
bool
Returns true
if this relative path element has the same value as rhs
.
- PySide6.QtOpcUa.QOpcUaRelativePathElement.referenceTypeId()#
- Return type:
str
Returns the type id of the reference connecting this node to the previous node.
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.setIncludeSubtypes(includeSubtypes)#
- Parameters:
includeSubtypes – bool
Sets the includeSubtypes
flag to includeSubtypes
. If the flag is true
, the lookup also follows references with subtypes of referenceTypeId()
.
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.setIsInverse(isInverse)#
- Parameters:
isInverse – bool
Sets the isInverse
flag to isInverse
. If the flag is true
, the lookup follows the reverse reference.
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.setReferenceTypeId(referenceTypeId)#
- Parameters:
referenceTypeId –
ReferenceTypeId
Sets the reference type id to referenceTypeId
.
- PySide6.QtOpcUa.QOpcUaRelativePathElement.setReferenceTypeId(referenceTypeId)
- Parameters:
referenceTypeId – str
Sets the reference type id to referenceTypeId
.
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.setTargetName(targetName)#
- Parameters:
targetName –
PySide6.QtOpcUa.QOpcUaQualifiedName
Sets the target name to targetName
, for example QOpcUaQualifiedName
(0, “DataTypes”).
See also
- PySide6.QtOpcUa.QOpcUaRelativePathElement.targetName()#
- Return type:
Returns the qualified name of the reference’s target.
See also