QOpcUaLiteralOperand#

The OPC UA LiteralOperand type. More

Synopsis#

Functions#

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 part 4, 7.4.4.3. It contains a literal value that is to be used as operand.

class PySide6.QtOpcUa.QOpcUaLiteralOperand#

PySide6.QtOpcUa.QOpcUaLiteralOperand(arg__1)

PySide6.QtOpcUa.QOpcUaLiteralOperand(value[, type=QOpcUa.Types.Undefined])

Parameters:

Default constructs a literal operand with no parameters set.

Constructs a literal operand from rhs.

Constructs a literal operand of value value and type type.

PySide6.QtOpcUa.QOpcUaLiteralOperand.setType(type)#
Parameters:

typeTypes

Sets the type of the value of the literal operand to type.

See also

type()

PySide6.QtOpcUa.QOpcUaLiteralOperand.setValue(value)#
Parameters:

value – object

Sets the value of the literal operand to value.

See also

value()

PySide6.QtOpcUa.QOpcUaLiteralOperand.type()#
Return type:

Types

Returns the type of the value of the literal operand.

See also

setType()

PySide6.QtOpcUa.QOpcUaLiteralOperand.value()#
Return type:

object

Returns the value of the literal operand.

See also

setValue()