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) |
QVariant | operator QVariant() const |
QOpcUaDoubleComplexNumber & | operator=(const QOpcUaDoubleComplexNumber &rhs) |
bool | operator==(const QOpcUaDoubleComplexNumber &rhs) const |
メンバ関数 ドキュメント
QOpcUaDoubleComplexNumber::QOpcUaDoubleComplexNumber()
デフォルトは、パラメータを設定せずに二重複素数を構成する。
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()も参照のこと 。
QVariant QOpcUaDoubleComplexNumber::operator QVariant() const
この二重複素数をQVariant に変換する。
QOpcUaDoubleComplexNumber &QOpcUaDoubleComplexNumber::operator=(const QOpcUaDoubleComplexNumber &rhs)
この二重複素数にrhs からの値を設定する。
bool QOpcUaDoubleComplexNumber::operator==(const QOpcUaDoubleComplexNumber &rhs) const
この二重複素数がrhs と同じ値を持つ場合、true
を返す。
© 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.