- class QOpcUaRelativePathElement#
The OPC UA RelativePathElement. More…
Synopsis#
Methods#
def
__init__()
def
isInverse()
def
__ne__()
def
__eq__()
def
setIsInverse()
def
setTargetName()
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 inresolveBrowsePath()
.- __init__()#
Constructs a relative path element with both flags set to
false
.- __init__(target, refType)
- Parameters:
target –
QOpcUaQualifiedName
refType –
ReferenceTypeId
Constructs a relative path element with
targetName
target
,ReferenceTypeId
refType
and both flags set tofalse
.- __init__(target, refType)
- Parameters:
target –
QOpcUaQualifiedName
refType – str
Constructs a relative path element with
targetName
target
, reference type node idrefType
and both flags set tofalse
.- __init__(arg__1)
- Parameters:
arg__1 –
QOpcUaRelativePathElement
Constructs a relative path element from
rhs
.- includeSubtypes()#
- Return type:
bool
Returns the value of the includeSubtypes flag.
See also
- isInverse()#
- Return type:
bool
Returns the value of the isInverse flag.
See also
- __ne__(rhs)#
- Parameters:
- Return type:
bool
Returns
true
iflhs
has a different value thanrhs
.- __eq__(rhs)#
- Parameters:
- Return type:
bool
Returns
true
if this relative path element has the same value asrhs
.- referenceTypeId()#
- Return type:
str
Returns the type id of the reference connecting this node to the previous node.
See also
- setIncludeSubtypes(includeSubtypes)#
- Parameters:
includeSubtypes – bool
Sets the
includeSubtypes
flag toincludeSubtypes
. If the flag istrue
, the lookup also follows references with subtypes ofreferenceTypeId()
.See also
- setIsInverse(isInverse)#
- Parameters:
isInverse – bool
Sets the
isInverse
flag toisInverse
. If the flag istrue
, the lookup follows the reverse reference.See also
- setReferenceTypeId(referenceTypeId)#
- Parameters:
referenceTypeId –
ReferenceTypeId
Sets the reference type id to
referenceTypeId
.- setReferenceTypeId(referenceTypeId)
- Parameters:
referenceTypeId – str
Sets the reference type id to
referenceTypeId
.See also
- setTargetName(targetName)#
- Parameters:
targetName –
QOpcUaQualifiedName
Sets the target name to
targetName
, for exampleQOpcUaQualifiedName
(0, “DataTypes”).See also
- targetName()#
- Return type:
Returns the qualified name of the reference’s target.
See also