- class QOpcUaLiteralOperand¶
The OPC UA LiteralOperand type. More…
Synopsis¶
Methods¶
def
__init__()
def
__ne__()
def
__eq__()
def
setType()
def
setValue()
def
type()
def
value()
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¶
The LiteralOperand is defined in OPC UA 1.05 part 4, 7.7.4.3. It contains a literal value that is to be used as operand.
- __init__()¶
Default constructs a literal operand with no parameters set.
- __init__(arg__1)
- Parameters:
arg__1 –
QOpcUaLiteralOperand
Constructs a literal operand from
rhs
.- __init__(value[, type=QOpcUa.Types.Undefined])
- Parameters:
value – object
type –
Types
Constructs a literal operand of value
value
and typetype
.- __ne__(rhs)¶
- Parameters:
rhs –
QOpcUaLiteralOperand
- Return type:
bool
Returns
true
iflhs
has a different value thanrhs
.- __eq__(rhs)¶
- Parameters:
rhs –
QOpcUaLiteralOperand
- Return type:
bool
Returns
true
iflhs
has the same value asrhs
.Sets the type of the value of the literal operand to
type
.See also
- setValue(value)¶
- Parameters:
value – object
Sets the value of the literal operand to
value
.See also
Returns the type of the value of the literal operand.
See also
- value()¶
- Return type:
object
Returns the value of the literal operand.
See also