The OPC UA DoubleComplexNumber type. More...
| Header: | #include <QOpcUaDoubleComplexNumber>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
|
| qmake: | QT += opcua
|
| QOpcUaDoubleComplexNumber() | |
| QOpcUaDoubleComplexNumber(double real, double imaginary) | |
| double | imaginary() const |
| double | real() const |
| void | setImaginary(double imaginary) |
| void | setReal(double real) |
| QVariant | operator QVariant() const |
| QOpcUaDoubleComplexNumber & | operator=(const QOpcUaDoubleComplexNumber &rhs) |
| bool | operator==(const QOpcUaDoubleComplexNumber &rhs) const |
The DoubleComplexNumberType defined in OPC UA 1.05 part 8, 5.6.5. It stores a complex number with double precision.
Default constructs a double complex number with no parameters set.
Constructs a double complex number with real part real and imaginary part imaginary.
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 double complex number to QVariant.
Sets the values from rhs in this double complex number.
Returns true if this double 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.9/qopcuadoublecomplexnumber.html