The OPC UA LiteralOperand type. More...
| Header: | #include <QOpcUaLiteralOperand>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
|
| qmake: | QT += opcua
|
| QOpcUaLiteralOperand() | |
| QOpcUaLiteralOperand(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined) | |
| QOpcUaLiteralOperand(const QOpcUaLiteralOperand &rhs) | |
| void | setType(QOpcUa::Types type) |
| void | setValue(const QVariant &value) |
| QOpcUa::Types | type() const |
| QVariant | value() const |
| QVariant | operator QVariant() const |
| QOpcUaLiteralOperand & | operator=(const QOpcUaLiteralOperand &rhs) |
(since 6.7) bool |
operator!=(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs) |
(since 6.7) bool |
operator==(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs) |
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.
Default constructs a literal operand with no parameters set.
Constructs a literal operand of value value and type type.
Constructs a literal operand from rhs.
Sets the type of the value of the literal operand to type.
See also type().
Sets the value of the literal operand to value.
See also value().
Returns the type of the value of the literal operand.
See also setType().
Returns the value of the literal operand.
See also setValue().
Converts this literal operand to QVariant.
Sets the values from rhs in this QOpcUaLiteralOperand.
[noexcept, since 6.7] bool operator!=(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)
Returns true if lhs has a different value than rhs.
This function was introduced in Qt 6.7.
[noexcept, since 6.7] bool operator==(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)
Returns true if lhs has the same value as rhs.
This function was introduced in Qt 6.7.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qopcualiteraloperand.html