The OPC UA ComplexNumber type. More...
| Header: | #include <QOpcUaComplexNumber> |
| qmake: | QT += opcua |
| QOpcUaComplexNumber(float real, float imaginary) | |
| QOpcUaComplexNumber & | operator=(const QOpcUaComplexNumber &rhs) |
| float | imaginary() const |
| float | real() const |
| void | setImaginary(float imaginary) |
| void | setReal(float real) |
| QVariant | operator QVariant() const |
| bool | operator==(const QOpcUaComplexNumber &rhs) const |
The ComplexNumberType defined in OPC-UA part 8, 5.6.4. It stores a complex number with float precision.
Constructs a complex number with real part real and imaginary part imaginary.
Sets the values from rhs in this complex number.
Returns the imaginary part of the complex number.
See also setImaginary().
Returns the real part of the complex number.
See also setReal().
Sets the imaginary part of the complex number to imaginary.
See also imaginary().
Sets the real part of the complex number to real.
See also real().
Converts this complex number to QVariant.
Returns true if this complex number has the same value as rhs.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuacomplexnumber.html