QOpcUaComplexNumber Class
OPC UA의 ComplexNumber 유형. 더 보기...
| 헤더: | #include <QOpcUaComplexNumber> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
공개 함수
| QOpcUaComplexNumber() | |
| QOpcUaComplexNumber(float real, float imaginary) | |
| float | imaginary() const |
| float | real() const |
| void | setImaginary(float imaginary) |
| void | setReal(float real) |
| operator QVariant() const | |
| QOpcUaComplexNumber & | operator=(const QOpcUaComplexNumber &rhs) |
| bool | operator==(const QOpcUaComplexNumber &rhs) const |
멤버 함수 설명
QOpcUaComplexNumber::QOpcUaComplexNumber()
Default는 매개변수를 지정하지 않고 복소수를 생성합니다.
QOpcUaComplexNumber::QOpcUaComplexNumber(float real, float imaginary)
실수부 real, 허수부 imaginary 인 복소수를 생성합니다.
float QOpcUaComplexNumber::imaginary() const
복소수의 허수부를 반환합니다.
setImaginary()도 참조하십시오 .
float QOpcUaComplexNumber::real() const
복소수의 실수를 반환합니다.
setReal()도 참조하십시오 .
void QOpcUaComplexNumber::setImaginary(float imaginary)
복소수의 허수부를 imaginary 로 설정합니다.
imaginary()도 참조하십시오 .
void QOpcUaComplexNumber::setReal(float real)
복소수의 실수부를 real 로 설정합니다.
real()도 참조하십시오 .
QOpcUaComplexNumber::operator QVariant() const
이 복소수를 QVariant 로 변환합니다.
QOpcUaComplexNumber &QOpcUaComplexNumber::operator=(const QOpcUaComplexNumber &rhs)
rhs 에 있는 값들을 이 복소수에 설정합니다.
bool QOpcUaComplexNumber::operator==(const QOpcUaComplexNumber &rhs) const
이 복소수의 값이 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.