QOpcUaDoubleComplexNumber Class
Le type OPC UA DoubleComplexNumber. Plus d'informations...
| En-tête : | #include <QOpcUaDoubleComplexNumber> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake : | QT += opcua |
Fonctions publiques
| 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 |
Description détaillée
Le type DoubleComplexNumberType est défini dans OPC UA 1.05 partie 8, 5.6.5. Il stocke un nombre complexe avec une double précision.
Documentation des fonctions membres
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber()
Par défaut, un nombre complexe double est construit sans aucun paramètre.
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber(double real, double imaginary)
Construit un nombre complexe double avec la partie réelle real et la partie imaginaire imaginary.
double QOpcUaDoubleComplexNumber::imaginary() const
Renvoie la partie imaginaire du nombre complexe.
Voir aussi setImaginary().
double QOpcUaDoubleComplexNumber::real() const
Renvoie la partie réelle du nombre complexe.
Voir aussi setReal().
void QOpcUaDoubleComplexNumber::setImaginary(double imaginary)
Fixe la partie imaginaire du nombre complexe à imaginary.
Voir aussi imaginary().
void QOpcUaDoubleComplexNumber::setReal(double real)
Fixe la partie réelle du nombre complexe à real.
Voir aussi real().
QOpcUaDoubleComplexNumber::operator QVariant() const
Convertit ce nombre complexe double en QVariant.
QOpcUaDoubleComplexNumber &QOpcUaDoubleComplexNumber::operator=(const QOpcUaDoubleComplexNumber &rhs)
Définit les valeurs de rhs dans ce nombre complexe double.
bool QOpcUaDoubleComplexNumber::operator==(const QOpcUaDoubleComplexNumber &rhs) const
Renvoie true si ce nombre complexe double a la même valeur que rhs.
© 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.