PySide6.QtOpcUa.QOpcUaLiteralOperand

class QOpcUaLiteralOperand

The OPC UA LiteralOperand type. More

Synopsis

Methods

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__1QOpcUaLiteralOperand

Constructs a literal operand from rhs.

__init__(value[, type=QOpcUa.Types.Undefined])
Parameters:
  • value – object

  • typeTypes

Constructs a literal operand of value value and type type.

__ne__(rhs)
Parameters:

rhsQOpcUaLiteralOperand

Return type:

bool

Returns true if lhs has a different value than rhs.

__eq__(rhs)
Parameters:

rhsQOpcUaLiteralOperand

Return type:

bool

Returns true if lhs has the same value as rhs.

setType(type)
Parameters:

typeTypes

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

See also

type()

setValue(value)
Parameters:

value – object

Sets the value of the literal operand to value.

See also

value()

type()
Return type:

Types

Returns the type of the value of the literal operand.

See also

setType()

value()
Return type:

object

Returns the value of the literal operand.

See also

setValue()