QOpcUaDoubleComplexNumber Class
El tipo DoubleComplexNumber de OPC UA. Más...
| Cabecera: | #include <QOpcUaDoubleComplexNumber> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funciones públicas
| 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 |
Descripción detallada
El tipo DoubleComplexNumberType definido en OPC UA 1.05 parte 8, 5.6.5. Almacena un número complejo con doble precisión.
Documentación de la función miembro
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber()
Por defecto construye un número complejo doble sin parámetros establecidos.
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber(double real, double imaginary)
Construye un número complejo doble con parte real real y parte imaginaria imaginary.
double QOpcUaDoubleComplexNumber::imaginary() const
Devuelve la parte imaginaria del número complejo.
Véase también setImaginary().
double QOpcUaDoubleComplexNumber::real() const
Devuelve la parte real del número complejo.
Véase también setReal().
void QOpcUaDoubleComplexNumber::setImaginary(double imaginary)
Establece la parte imaginaria del número complejo en imaginary.
Véase también imaginary().
void QOpcUaDoubleComplexNumber::setReal(double real)
Establece la parte real del número complejo en real.
Véase también real().
QOpcUaDoubleComplexNumber::operator QVariant() const
Convierte este número complejo doble a QVariant.
QOpcUaDoubleComplexNumber &QOpcUaDoubleComplexNumber::operator=(const QOpcUaDoubleComplexNumber &rhs)
Establece los valores de rhs en este número complejo doble.
bool QOpcUaDoubleComplexNumber::operator==(const QOpcUaDoubleComplexNumber &rhs) const
Devuelve true si este número complejo doble tiene el mismo valor 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.