QOpcUaLiteralOperand Class

OPC UA LiteralOperand 유형. 더 보기...

헤더: #include <QOpcUaLiteralOperand>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

공용 함수

QOpcUaLiteralOperand()
QOpcUaLiteralOperand(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)
QOpcUaLiteralOperand(const QOpcUaLiteralOperand &rhs)
void setType(QOpcUa::Types type)
void setValue(const QVariant &value)
QOpcUa::Types type() const
QVariant value() const
QVariant operator QVariant() const
QOpcUaLiteralOperand &operator=(const QOpcUaLiteralOperand &rhs)
(since 6.7) bool operator!=(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)
(since 6.7) bool operator==(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)

상세 설명

LiteralOperand 은 OPC UA 1.05 파트 4, 7.7.4.3에 정의되어 있습니다. 피연산자로 사용할 리터럴 값을 포함합니다.

멤버 함수 문서

QOpcUaLiteralOperand::QOpcUaLiteralOperand()

기본값은 매개변수가 설정되지 않은 리터럴 피연산자를 구성합니다.

QOpcUaLiteralOperand::QOpcUaLiteralOperand(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)

value 값의 리터럴 피연산자를 구성하고 type 을 입력합니다.

QOpcUaLiteralOperand::QOpcUaLiteralOperand(const QOpcUaLiteralOperand &rhs)

rhs 에서 리터럴 피연산자를 구축합니다.

void QOpcUaLiteralOperand::setType(QOpcUa::Types type)

리터럴 피연산자 값의 유형을 type 로 설정합니다.

type()도 참조하세요 .

void QOpcUaLiteralOperand::setValue(const QVariant &value)

리터럴 피연산자의 값을 value 로 설정합니다.

value()도 참조하세요 .

QOpcUa::Types QOpcUaLiteralOperand::type() const

리터럴 피연산자 값의 타입을 반환합니다.

setType()도 참조하세요 .

QVariant QOpcUaLiteralOperand::value() const

리터럴 피연산자의 값을 반환합니다.

setValue()도 참조하세요 .

QVariant QOpcUaLiteralOperand::operator QVariant() const

이 리터럴 피연산자를 QVariant 로 변환합니다.

QOpcUaLiteralOperand &QOpcUaLiteralOperand::operator=(const QOpcUaLiteralOperand &rhs)

QOpcUaLiteralOperand 에서 rhs 의 값을 설정합니다.

관련 비회원

[noexcept, since 6.7] bool operator!=(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)

lhsrhs 과 다른 값이면 true 을 반환합니다.

이 함수는 Qt 6.7에 도입되었습니다.

[noexcept, since 6.7] bool operator==(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)

lhsrhs 과 같은 값이면 true 을 반환합니다.

이 함수는 Qt 6.7에 도입되었습니다.

© 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.