The OPC UA DoubleComplexNumber type. 更多...
头: | #include <QOpcUaDoubleComplexNumber> |
qmake: | QT += opcua |
QOpcUaDoubleComplexNumber (double real , double imaginary ) | |
QOpcUaDoubleComplexNumber & | operator= (const QOpcUaDoubleComplexNumber & rhs ) |
double | imaginary () const |
double | real () const |
void | setImaginary (double imaginary ) |
void | setReal (double real ) |
QVariant | operator QVariant () const |
bool | operator== (const QOpcUaDoubleComplexNumber & rhs ) const |
The DoubleComplexNumberType defined in OPC-UA part 8, 5.6.5. It stores a complex number with double precision.
Constructs a double complex number with real part real and imaginary part imaginary .
设置值从 rhs in this double complex number.
Returns the imaginary part of the complex number.
另请参阅 setImaginary ().
Returns the real part of the complex number.
另请参阅 setReal ().
Sets the imaginary part of the complex number to imaginary .
另请参阅 imaginary ().
Sets the real part of the complex number to real .
另请参阅 real ().
Converts this double complex number to QVariant .
返回
true
if this double complex number has the same value as
rhs
.