QOpcUaLiteralOperand#

The OPC UA LiteralOperand type. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaLiteralOperand

Synopsis#

Functions#

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

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()