QOpcUaDoubleComplexNumber Class
Der OPC UA-Typ „DoubleComplexNumber“. Mehr...
| Header: | #include <QOpcUaDoubleComplexNumber> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Funktionen
| QOpcUaDoubleComplexNumber() | |
| QOpcUaDoubleComplexNumber(double real, double imaginary) | |
| double | imaginary() const |
| double | real() const |
| void | setImaginary(double imaginary) |
| void | setReal(double real) |
| operator QVariant() const | |
| QOpcUaDoubleComplexNumber & | operator=(const QOpcUaDoubleComplexNumber &rhs) |
| bool | operator==(const QOpcUaDoubleComplexNumber &rhs) const |
Detaillierte Beschreibung
Der in OPC UA 1.05 Teil 8, 5.6.5 definierte Typ „DoubleComplexNumberType“. Er speichert eine komplexe Zahl mit doppelter Genauigkeit.
Dokumentation der Mitgliedsfunktionen
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber()
Standardmäßig wird eine doppelte komplexe Zahl ohne festgelegte Parameter erstellt.
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber(double real, double imaginary)
Erzeugt eine doppelte komplexe Zahl mit dem Realteil real und dem Imaginärteil imaginary.
double QOpcUaDoubleComplexNumber::imaginary() const
Gibt den Imaginärteil der komplexen Zahl zurück.
Siehe auch „ setImaginary()“.
double QOpcUaDoubleComplexNumber::real() const
Gibt den Realteil der komplexen Zahl zurück.
Siehe auch „ setReal()“.
void QOpcUaDoubleComplexNumber::setImaginary(double imaginary)
Setzt den Imaginärteil der komplexen Zahl auf imaginary.
Siehe auch ` imaginary()`.
void QOpcUaDoubleComplexNumber::setReal(double real)
Setzt den Realteil der komplexen Zahl auf real.
Siehe auch real().
QOpcUaDoubleComplexNumber::operator QVariant() const
Wandelt diese doppelkomplexe Zahl in „ QVariant “ um.
QOpcUaDoubleComplexNumber &QOpcUaDoubleComplexNumber::operator=(const QOpcUaDoubleComplexNumber &rhs)
Setzt die Werte aus rhs in diese komplexe Zahl vom Typ „double“ ein.
bool QOpcUaDoubleComplexNumber::operator==(const QOpcUaDoubleComplexNumber &rhs) const
Gibt „ true “ zurück, wenn diese komplexe Zahl vom Typ „double“ denselben Wert wie „ rhs “ hat.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.