QOpcUaDoubleComplexNumber Class

OPC UA 더블컴플렉스넘버 유형입니다. 더 보기...

헤더: #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

상세 설명

OPC UA 1.05 파트 8, 5.6.5에 정의된 DoubleComplexNumberType입니다. 복소수를 배정밀도로 저장합니다.

멤버 함수 문서

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.