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.