QOpcUaDoubleComplexNumber Class
OPC UA の DoubleComplexNumber 型。詳細...
| ヘッダー: | #include <QOpcUaDoubleComplexNumber> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
パブリック関数
| 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 |
メンバ関数のドキュメント
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber()
default は、パラメータを何も指定せずに複素数(double型)を生成します。
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber(double real, double imaginary)
実部がreal 、虚部がimaginary である複素数を生成します。
double QOpcUaDoubleComplexNumber::imaginary() const
複素数の虚部を返します。
setImaginary()も参照してください 。
double QOpcUaDoubleComplexNumber::real() const
複素数の実部を返します。
setReal()も参照してください 。
void QOpcUaDoubleComplexNumber::setImaginary(double imaginary)
複素数の虚数をimaginary に設定します。
imaginary()も参照してください 。
void QOpcUaDoubleComplexNumber::setReal(double real)
複素数の実部をreal に設定します。
real()も参照してください 。
QOpcUaDoubleComplexNumber::operator QVariant() const
この複素数(double型)をQVariant に変換します。
QOpcUaDoubleComplexNumber &QOpcUaDoubleComplexNumber::operator=(const QOpcUaDoubleComplexNumber &rhs)
rhs の値を、この複素数(double型)に設定します。
bool QOpcUaDoubleComplexNumber::operator==(const QOpcUaDoubleComplexNumber &rhs) const
この複素数(double型)がrhs と同じ値である場合、true を返します。
© 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.