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(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined) | |
QOpcUaLiteralOperand(const QOpcUaLiteralOperand &rhs) | |
QOpcUaLiteralOperand & | operator=(const QOpcUaLiteralOperand &rhs) |
void | setType(QOpcUa::Types type) |
void | setValue(const QVariant &value) |
QOpcUa::Types | type() const |
QVariant | value() const |
QVariant | operator QVariant() const |
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.
Constructs a literal operand of value value and type type.
Constructs a literal operand from rhs.
Sets the values from rhs in this QOpcUaLiteralOperand.
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: