QOpcUaDoubleComplexNumber Class

Der OPC UA DoubleComplexNumber Typ. Mehr...

Kopfzeile: #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)
QVariant operator QVariant() const
QOpcUaDoubleComplexNumber &operator=(const QOpcUaDoubleComplexNumber &rhs)
bool operator==(const QOpcUaDoubleComplexNumber &rhs) const

Detaillierte Beschreibung

Der DoubleComplexNumberType, definiert in OPC UA 1.05 Teil 8, 5.6.5. Er speichert eine komplexe Zahl mit doppelter Genauigkeit.

Dokumentation der Mitgliedsfunktionen

QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber()

Standard konstruiert eine doppelte komplexe Zahl ohne Parametereinstellung.

QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber(double real, double imaginary)

Konstruiert eine doppelt komplexe Zahl mit Realteil real und 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().

QVariant QOpcUaDoubleComplexNumber::operator QVariant() const

Konvertiert diese doppelt komplexe Zahl in QVariant.

QOpcUaDoubleComplexNumber &QOpcUaDoubleComplexNumber::operator=(const QOpcUaDoubleComplexNumber &rhs)

Legt die Werte von rhs in dieser doppelten komplexen Zahl fest.

bool QOpcUaDoubleComplexNumber::operator==(const QOpcUaDoubleComplexNumber &rhs) const

Gibt true zurück, wenn diese doppelkomplexe Zahl denselben Wert hat wie rhs.

© 2025 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.